mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-24 01:04:21 +01:00
Add forwarding history sync from lnd to db
This commit is contained in:
7
postgresql/migrations/000006_channels.up.sql
Normal file
7
postgresql/migrations/000006_channels.up.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE public.channels (
|
||||
chanid bigint NOT NULL,
|
||||
channel_point varchar NULL,
|
||||
nodeid bytea NULL,
|
||||
CONSTRAINT chanid_pkey PRIMARY KEY (chanid)
|
||||
);
|
||||
CREATE INDEX channels_nodeid_idx ON public.channels (nodeid);
|
||||
Reference in New Issue
Block a user