mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 22:42:40 +02:00
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.
21 lines
478 B
Go
21 lines
478 B
Go
//go:build test_db_postgres || test_db_sqlite || test_native_sql
|
|
|
|
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.
|
|
},
|
|
}
|