Home | History | Annotate | Download | only in migrations
      1 UP_SQL = """
      2 ALTER TABLE afe_jobs ADD COLUMN timeout_mins integer NOT NULL;
      3 UPDATE afe_jobs SET timeout_mins = timeout * 60;
      4 """
      5 
      6 DOWN_SQL = """
      7 ALTER TABLE afe_jobs DROP COLUMN timeout_mins;
      8 """