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