Merge pull request #295 from jzelinskie/fixmigrationorder

psql/migrations: fix ordering
This commit is contained in:
Jimmy Zelinskie 2016-12-25 19:31:49 -05:00 committed by GitHub
commit 3897fb6706

View File

@ -18,7 +18,7 @@ import "github.com/remind101/migrate"
func init() { func init() {
RegisterMigration(migrate.Migration{ RegisterMigration(migrate.Migration{
ID: 4, ID: 5,
Up: migrate.Queries([]string{ Up: migrate.Queries([]string{
`CREATE INDEX layer_diff_featureversion_layer_id_modification_idx ON Layer_diff_FeatureVersion (layer_id, modification);`, `CREATE INDEX layer_diff_featureversion_layer_id_modification_idx ON Layer_diff_FeatureVersion (layer_id, modification);`,
}), }),