Schema compare tests

This commit is contained in:
binwiederhier
2026-07-29 07:12:28 +02:00
parent e7efdaeb3b
commit 95ad323d1c
8 changed files with 409 additions and 3 deletions
+3 -1
View File
@@ -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,
}
)