Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
603a661c07212624ef7af99117d417f3fb9a4114
/
.
/
tko
/
migrations
/
023_update_tests_invalid.py
blob: 386a43db127582578cd37e7f7aeec6989833314f [
file
] [
log
] [
blame
]
def
migrate_up
(
manager
):
manager
.
execute
(
"ALTER TABLE tests MODIFY invalid TINYINT(1) DEFAULT 0"
)
def
migrate_down
(
manager
):
manager
.
execute
(
"ALTER TABLE tests MODIFY invalid TINYINT(1) DEFAULT NULL"
)