mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-04 20:44:46 +02:00
In this commit, a new `test_native_sql` build flag is defined. If this build flag is used along with the `--use-native-sql` config option, then the SQLStore implementation of the graphdb.V1Store will be initialised. This is then used to run our itest suite against the new SQLStore graph implementation. NOTE that this only works for new nodes currently - the migration from kv-to-sql is yet to be implemeneted.
12 lines
207 B
Go
12 lines
207 B
Go
//go:build test_db_postgres || test_db_sqlite || test_native_sql
|
|
|
|
package sqldb
|
|
|
|
var migrationAdditions = []MigrationConfig{
|
|
{
|
|
Name: "000007_graph",
|
|
Version: 8,
|
|
SchemaVersion: 7,
|
|
},
|
|
}
|