mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-01 08:29:00 +01:00
sqldb: use the new schema
We put this new schema update into the main line and change the versions of the schema updates which are currently only available in dev builds. The schemas need to be chronological therefore we also need to rename the file numbers.
This commit is contained in:
@@ -4,14 +4,14 @@ package sqldb
|
||||
|
||||
var migrationAdditions = []MigrationConfig{
|
||||
{
|
||||
Name: "000007_graph",
|
||||
Version: 8,
|
||||
SchemaVersion: 7,
|
||||
Name: "000008_graph",
|
||||
Version: 9,
|
||||
SchemaVersion: 8,
|
||||
},
|
||||
{
|
||||
Name: "kv_graph_migration",
|
||||
Version: 9,
|
||||
SchemaVersion: 7,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user