Add postgresql migration files

This commit is contained in:
Yaacov Akiba Slama
2020-08-16 12:15:02 +03:00
parent 5ec237e4a4
commit a6c770462d
8 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE public.payments DROP COLUMN payment_request_out;
ALTER TABLE public.payments ADD payment_secret bytea NOT NULL;
ALTER TABLE public.payments ADD destination bytea NOT NULL;
ALTER TABLE public.payments ADD incoming_amount_msat bigint NOT NULL;
ALTER TABLE public.payments ADD outgoing_amount_msat bigint NOT NULL;