Squash vat_init checked_headers

This commit is contained in:
Edvard 2018-10-26 15:08:58 +02:00
parent ba0113c2eb
commit 46a26f5bd9
4 changed files with 8 additions and 6 deletions

View File

@ -1 +1,4 @@
DROP TABLE maker.vat_init;
DROP TABLE maker.vat_init;
ALTER TABLE public.checked_headers
DROP COLUMN vat_init_checked;

View File

@ -6,4 +6,7 @@ CREATE TABLE maker.vat_init (
tx_idx INTEGER NOT NUll,
raw_log JSONB,
UNIQUE (header_id, tx_idx, log_idx)
);
);
ALTER TABLE public.checked_headers
ADD COLUMN vat_init_checked BOOLEAN NOT NULL DEFAULT FALSE;

View File

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

View File

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