mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-30 21:42:39 +02:00
multi: switch on graph SQL migration
In this commit, the graph SQL migration is added to the production build.
This commit is contained in:
@@ -78,6 +78,20 @@ var (
|
||||
Version: 8,
|
||||
SchemaVersion: 7,
|
||||
},
|
||||
{
|
||||
Name: "000008_graph",
|
||||
Version: 9,
|
||||
SchemaVersion: 8,
|
||||
},
|
||||
{
|
||||
Name: "kv_graph_migration",
|
||||
Version: 10,
|
||||
SchemaVersion: 8,
|
||||
// A migration function may be attached to this
|
||||
// migration to migrate KV graph to the native SQL
|
||||
// schema. This is optional and can be disabled by the
|
||||
// user if necessary.
|
||||
},
|
||||
}, migrationAdditions...)
|
||||
|
||||
// ErrMigrationMismatch is returned when a migrated record does not
|
||||
|
@@ -2,19 +2,4 @@
|
||||
|
||||
package sqldb
|
||||
|
||||
var migrationAdditions = []MigrationConfig{
|
||||
{
|
||||
Name: "000008_graph",
|
||||
Version: 9,
|
||||
SchemaVersion: 8,
|
||||
},
|
||||
{
|
||||
Name: "kv_graph_migration",
|
||||
Version: 10,
|
||||
SchemaVersion: 8,
|
||||
// A migration function may be attached to this
|
||||
// migration to migrate KV graph to the native SQL
|
||||
// schema. This is optional and can be disabled by the
|
||||
// user if necessary.
|
||||
},
|
||||
}
|
||||
var migrationAdditions []MigrationConfig
|
||||
|
Reference in New Issue
Block a user