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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « go/rietveld/rietveld.go ('k') | golden/go/goldingester/goldingester.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package db 1 package db
2 2
3 import "go.skia.org/infra/go/database" 3 import "go.skia.org/infra/go/database"
4 4
5 const ( 5 const (
6 // Default database parameters. 6 // Default database parameters.
7 PROD_DB_HOST = "173.194.104.24" 7 PROD_DB_HOST = "173.194.104.24"
8 PROD_DB_PORT = 3306 8 PROD_DB_PORT = 3306
9 PROD_DB_NAME = "skiacorrectness" 9 PROD_DB_NAME = "skiacorrectness"
10 ) 10 )
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 results LONGTEXT NOT NULL, 128 results LONGTEXT NOT NULL,
129 INDEX tries_lastupdated_idx (last_updated) 129 INDEX tries_lastupdated_idx (last_updated)
130 )`, 130 )`,
131 }, 131 },
132 MySQLDown: []string{ 132 MySQLDown: []string{
133 `DROP TABLE IF EXISTS tries`, 133 `DROP TABLE IF EXISTS tries`,
134 }, 134 },
135 }, 135 },
136 136
137 // Use this is a template for more migration steps. 137 // Use this is a template for more migration steps.
138 // version 8
139 {
140 MySQLUp: []string{`ALTER TABLE tries ADD max_patchset INT NOT NULL DEFAULT 0`},
141 MySQLDown: []string{`ALTER TABLE tries DROP max_patchset`},
142 },
143
144 // Use this is a template for more migration steps.
138 // version x 145 // version x
139 // { 146 // {
140 // MySQLUp: , 147 // MySQLUp: ,
141 // MySQLDown: , 148 // MySQLDown: ,
142 // }, 149 // },
143 } 150 }
OLDNEW
« 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