Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
refs/heads/stabilize-8975.B
/
.
/
frontend
/
migrations
/
083_job_add_timeout_mins.py
blob: 4caa26aa816e73ba4d30b46ae2a16b3b60968878 [
file
] [
log
] [
blame
] [
edit
]
UP_SQL
=
"""
ALTER TABLE afe_jobs ADD COLUMN timeout_mins integer NOT NULL;
UPDATE afe_jobs SET timeout_mins = timeout * 60;
"""
DOWN_SQL
=
"""
ALTER TABLE afe_jobs DROP COLUMN timeout_mins;
"""