multi: switch on graph SQL migration

In this commit, the graph SQL migration is added to the production
build.
This commit is contained in:
Elle Mouton
2025-08-15 13:41:36 +02:00
parent 3751d7a6b6
commit 9ce14371e1
6 changed files with 69 additions and 97 deletions

View File

@@ -5,7 +5,6 @@ import (
"database/sql"
"net"
"github.com/lightningnetwork/lnd"
graphdb "github.com/lightningnetwork/lnd/graph/db"
"github.com/lightningnetwork/lnd/lntest"
"github.com/lightningnetwork/lnd/lntest/node"
@@ -17,10 +16,6 @@ import (
// testGraphMigration tests that the graph migration from the old KV store to
// the new native SQL store works as expected.
func testGraphMigration(ht *lntest.HarnessTest) {
if !lnd.RunTestSQLMigration {
ht.Skip("not running with test_native_sql tag")
}
ctx := ht.Context()
alice := ht.NewNodeWithCoins("Alice", nil)