Home | History | Annotate | Download | only in migrations
      1 # These indices speed up date-range queries often used in making dashboards.
      2 UP_SQL = """
      3 alter table tko_tests add index started_time (started_time);
      4 alter table afe_jobs add index created_on (created_on);
      5 """
      6 
      7 DOWN_SQL = """
      8 drop index started_time on tko_tests;
      9 drop index created_on on afe_jobs;
     10 """
     11