Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
refs/heads/release-R26-3701.B
/
.
/
frontend
/
migrations
/
030_update_hosts_invalid.py
blob: 737f92e43118a36f85b0fd9f4e935cef00570f45 [
file
] [
log
] [
blame
] [
edit
]
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"
)