mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 03:33:33 +02:00
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:
@@ -91,3 +91,8 @@ type InvoiceSequence struct {
|
||||
Name string
|
||||
CurrentValue int64
|
||||
}
|
||||
|
||||
type MigrationTracker struct {
|
||||
Version int32
|
||||
MigrationTime time.Time
|
||||
}
|
||||
|
Reference in New Issue
Block a user