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

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: 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
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 """
truty 2010/11/15 19:32:09 This will make our db bigger and this db upgrade w
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698