Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
refs/heads/release-R26-3701.B
/
.
/
frontend
/
migrations
/
041_add_special_task_success.py
blob: 200008881f30f36af28b47e2945cdd08cecab239 [
file
] [
log
] [
blame
] [
edit
]
UP_SQL
=
"""
ALTER TABLE special_tasks
ADD COLUMN success TINYINT(1)
NOT NULL DEFAULT 0;
UPDATE special_tasks
SET success = 1
WHERE is_complete = 1;
"""
DOWN_SQL
=
"""
ALTER TABLE special_tasks
DROP COLUMN success;
"""