Squash dent checked_headers

This commit is contained in:
Edvard 2018-10-26 15:17:30 +02:00
parent 07a0c4f097
commit 48525203f3
5 changed files with 7 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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