Sign in
cos
/
mirrors
/
cros
/
chromiumos
/
third_party
/
autotest
/
refs/heads/stabilize.59781.98.B
/
.
/
frontend
/
migrations
/
070_job_add_max_runtime_mins.py
blob: 7db10c6e05e6a4eb0687d9fb26fa554634cb4528 [
file
] [
log
] [
blame
] [
edit
]
UP_SQL
=
"""
ALTER TABLE afe_jobs ADD COLUMN max_runtime_mins integer NOT NULL;
UPDATE afe_jobs SET max_runtime_mins = max_runtime_hrs * 60;
"""
DOWN_SQL
=
"""
ALTER TABLE afe_jobs DROP COLUMN max_runtime_mins;
"""