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 committed 2025-09-04 18:52:00 +02:00
1 parent 3751d7a6b6
commit 9ce14371e1
6 files changed
+69 -97

No files matched your search

-5
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)