Squash flip_kick checked_headers

This commit is contained in:
Edvard 2018-10-26 15:22:27 +02:00
parent 393c5297b2
commit 058ab85518
5 changed files with 7 additions and 5 deletions

View File

@ -0,0 +1,4 @@
DROP TABLE maker.flip_kick;
ALTER TABLE public.checked_headers
DROP COLUMN flip_kick_checked;

View File

@ -13,3 +13,6 @@ CREATE TABLE maker.flip_kick (
raw_log JSONB,
UNIQUE (header_id, tx_idx, log_idx)
);
ALTER TABLE public.checked_headers
ADD COLUMN flip_kick_checked BOOLEAN NOT NULL DEFAULT FALSE;

View File

@ -1 +0,0 @@
DROP TABLE maker.flip_kick;

View File

@ -1,2 +0,0 @@
ALTER TABLE public.checked_headers
DROP COLUMN flip_kick_checked;

View File

@ -1,2 +0,0 @@
ALTER TABLE public.checked_headers
ADD COLUMN flip_kick_checked BOOLEAN NOT NULL DEFAULT FALSE;