Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: frontend/migrations/064_add_jobs_and_tests_time_indices.py

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « frontend/afe/rpc_utils.py ('k') | global_config.ini » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 """
OLDNEW
« no previous file with comments | « frontend/afe/rpc_utils.py ('k') | global_config.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698