Merge remote-tracking branch 'origin'

This commit is contained in:
Brad Rydzewski 2017-05-22 16:14:54 +02:00
commit 090de39c94
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ INSERT IGNORE INTO migrations (name) VALUES
var createMigrationsTable = `
CREATE TABLE IF NOT EXISTS migrations (
name VARCHAR(512)
name VARCHAR(255)
,UNIQUE(name)
)
`

View file

@ -150,7 +150,7 @@ func selectCompleted(db *sql.DB) (map[string]struct{}, error) {
var migrationTableCreate = `
CREATE TABLE IF NOT EXISTS migrations (
name VARCHAR(512)
name VARCHAR(255)
,UNIQUE(name)
)
`