Squash bite checked_headers

This commit is contained in:
Edvard 2018-10-26 15:21:04 +02:00
parent 000c504603
commit 393c5297b2
5 changed files with 8 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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