Skip to content

Commit 2d916fb

Browse files
committed
wip
1 parent 23635ac commit 2d916fb

File tree

1 file changed

+3
-0
lines changed
  • src/code.cloudfoundry.org/policy-server/store/migrations

1 file changed

+3
-0
lines changed

src/code.cloudfoundry.org/policy-server/store/migrations/v0077.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ package migrations
66
var migration_v0077 = map[string][]string{
77
"mysql": {
88
`CREATE TABLE IF NOT EXISTS policies_info (
9+
id bigint NOT NULL AUTO_INCREMENT,
10+
PRIMARY KEY (id),
911
last_updated TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
1012
);`,
1113
},
1214
"postgres": {
1315
`CREATE TABLE IF NOT EXISTS policies_info (
16+
id BIGSERIAL PRIMARY KEY,
1417
last_updated TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
1518
);`,
1619
},

0 commit comments

Comments
 (0)