sqldb: add table to track custom SQL migrations

This commit adds the migration_tracker table which we'll use to track if
a custom migration has already been done.
This commit is contained in:
Andras Banki-Horvath
2024-11-12 16:25:29 +01:00
parent 680394518f
commit 9acd06d296
6 changed files with 108 additions and 0 deletions

View File

@@ -91,3 +91,8 @@ type InvoiceSequence struct {
Name string
CurrentValue int64
}
type MigrationTracker struct {
Version int32
MigrationTime time.Time
}