Sign in
chromium
/
chromiumos
/
third_party
/
autotest
/
34363392b65cd80c707998d934c04ac23e7cd570
/
.
/
frontend
/
migrations
/
083_job_add_timeout_mins.py
blob: 4caa26aa816e73ba4d30b46ae2a16b3b60968878 [
file
] [
log
] [
blame
]
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;
"""