mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-15 07:57:54 +00:00
Schema compare tests
This commit is contained in:
@@ -96,7 +96,7 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
postgresCurrentSchemaVersion = 8
|
||||
postgresCurrentSchemaVersion = 9
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -135,5 +135,7 @@ var (
|
||||
postgresMigrations = map[int]schema.MigrateFunc{
|
||||
6: schema.AsMigrateFunc(postgresMigrate6To7UpdateQueries),
|
||||
7: schema.AsMigrateFunc(postgresMigrate7To8UpdateQueries),
|
||||
// 8 -> 9 repairs a SQLite-only foreign key defect; nothing to do on Postgres
|
||||
8: schema.NopMigrateFunc,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user