Sign in
chromium
/
chromiumos
/
third_party
/
autotest
/
d2103cc4cedd79a8e3218028504cbc2df1d3d9f4
/
.
/
frontend
/
migrations
/
030_update_hosts_invalid.py
blob: 737f92e43118a36f85b0fd9f4e935cef00570f45 [
file
] [
log
] [
blame
]
def
migrate_up
(
manager
):
manager
.
execute
(
"ALTER TABLE hosts MODIFY invalid TINYINT(1) DEFAULT 0"
)
def
migrate_down
(
manager
):
manager
.
execute
(
"ALTER TABLE hosts MODIFY invalid TINYINT(1) DEFAULT NULL"
)