mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-19 13:17:32 +02:00
The native SQL payments migrations were previously gated behind test build tags in migrations_dev.go. This commit promotes them into the main migration sequence in migrations.go, making them available in production builds. The following migrations are moved to mainline: - 000010_payments (v12): initial payments SQL schema - 000011_payment_duplicates (v13): duplicate payment support - kv_payments_migration (v14): optional KV to SQL payment migration - 000012_drop_redundant_invoice_indexes (v15): index cleanup - 000013_payments_index_improvements (v16): payment index optimizations
10 lines
332 B
Go
10 lines
332 B
Go
//go:build test_db_postgres || test_db_sqlite || test_native_sql
|
|
|
|
package sqldb
|
|
|
|
// migrationAdditions is a list of migrations that are added to the
|
|
// migrationConfig slice.
|
|
//
|
|
// NOTE: This should always be empty as all migrations are now included in the
|
|
// main line (see migrations.go).
|
|
var migrationAdditions []MigrationConfig
|