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

Unified Diff: golden/go/db/db.go

Issue 1409103004: Extend Trybot list view (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 2 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 | « go/rietveld/rietveld.go ('k') | golden/go/goldingester/goldingester.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: golden/go/db/db.go
diff --git a/golden/go/db/db.go b/golden/go/db/db.go
index 88217a14d3feaffae7691ebab6c0fb6f55617dcf..b2252836322731932bf5f81429c7f49d8d34534a 100644
--- a/golden/go/db/db.go
+++ b/golden/go/db/db.go
@@ -135,6 +135,13 @@ var migrationSteps = []database.MigrationStep{
},
// Use this is a template for more migration steps.
+ // version 8
+ {
+ MySQLUp: []string{`ALTER TABLE tries ADD max_patchset INT NOT NULL DEFAULT 0`},
+ MySQLDown: []string{`ALTER TABLE tries DROP max_patchset`},
+ },
+
+ // Use this is a template for more migration steps.
// version x
// {
// MySQLUp: ,
« no previous file with comments | « go/rietveld/rietveld.go ('k') | golden/go/goldingester/goldingester.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698