Skip to content

Commit 5effa96

Browse files
committed
sqldb: closed_scids table
1 parent d46552f commit 5effa96

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

sqldb/sqlc/migrations/000007_graph.down.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ DROP TABLE IF EXISTS nodes;
2929
DROP TABLE IF EXISTS channel_policy_extra_types;
3030
DROP TABLE IF EXISTS zombie_channels;
3131
DROP TABLE IF EXISTS prune_log;
32+
DROP TABLE IF EXISTS closed_scids;

sqldb/sqlc/migrations/000007_graph.up.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,4 +331,9 @@ CREATE TABLE IF NOT EXISTS prune_log (
331331

332332
-- The block hash that the prune was performed at.
333333
block_hash BLOB NOT NULL
334+
);
335+
336+
CREATE TABLE IF NOT EXISTS closed_scids (
337+
-- The short channel id of the channel.
338+
scid BLOB PRIMARY KEY
334339
);

sqldb/sqlc/models.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)