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

Unified Diff: frontend/migrations/057_add_planner_triage_actions.py

Issue 1595019: Merge remote branch 'origin/upstream' into tempbranch (Closed)
Patch Set: Created 10 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frontend/migrations/056_planner_global_support.py ('k') | frontend/planner/execution_engine.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frontend/migrations/057_add_planner_triage_actions.py
diff --git a/frontend/migrations/057_add_planner_triage_actions.py b/frontend/migrations/057_add_planner_triage_actions.py
new file mode 100644
index 0000000000000000000000000000000000000000..5f6d97b88567ba273660a5c8b6a6e9b6182a103f
--- /dev/null
+++ b/frontend/migrations/057_add_planner_triage_actions.py
@@ -0,0 +1,15 @@
+UP_SQL = """
+ALTER TABLE planner_test_runs
+ADD COLUMN invalidated TINYINT(1) DEFAULT FALSE;
+
+ALTER TABLE planner_test_jobs
+ADD COLUMN requires_rerun TINYINT(1) DEFAULT FALSE;
+"""
+
+DOWN_SQL = """
+ALTER TABLE planner_test_jobs
+DROP COLUMN requires_rerun;
+
+ALTER TABLE planner_test_runs
+DROP COLUMN invalidated;
+"""
« no previous file with comments | « frontend/migrations/056_planner_global_support.py ('k') | frontend/planner/execution_engine.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698