Squash drip_drip checked_headers
This commit is contained in:
parent
60fec86881
commit
8eb6767da9
4
db/migrations/1536710319_create_drip_drip.down.sql
Normal file
4
db/migrations/1536710319_create_drip_drip.down.sql
Normal file
@ -0,0 +1,4 @@
|
||||
DROP TABLE maker.drip_drip;
|
||||
|
||||
ALTER TABLE public.checked_headers
|
||||
DROP COLUMN drip_drip_checked;
|
@ -6,4 +6,7 @@ CREATE TABLE maker.drip_drip (
|
||||
tx_idx INTEGER NOT NUll,
|
||||
raw_log JSONB,
|
||||
UNIQUE (header_id, tx_idx, log_idx)
|
||||
);
|
||||
);
|
||||
|
||||
ALTER TABLE public.checked_headers
|
||||
ADD COLUMN drip_drip_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
@ -1 +0,0 @@
|
||||
DROP TABLE maker.drip_drip;
|
@ -1,2 +0,0 @@
|
||||
ALTER TABLE public.checked_headers
|
||||
DROP COLUMN drip_drip_checked;
|
@ -1,2 +0,0 @@
|
||||
ALTER TABLE public.checked_headers
|
||||
ADD COLUMN drip_drip_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
Loading…
Reference in New Issue
Block a user