forked from cerc-io/ipld-eth-server
Squash cat_file checked_headers
This commit is contained in:
parent
d87371cb11
commit
6610821833
12
db/migrations/1536765047_create_cat_file.down.sql
Normal file
12
db/migrations/1536765047_create_cat_file.down.sql
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
DROP TABLE maker.cat_file_chop_lump;
|
||||||
|
DROP TABLE maker.cat_file_flip;
|
||||||
|
DROP TABLE maker.cat_file_pit_vow;
|
||||||
|
|
||||||
|
ALTER TABLE public.checked_headers
|
||||||
|
DROP COLUMN cat_file_chop_lump_checked;
|
||||||
|
|
||||||
|
ALTER TABLE public.checked_headers
|
||||||
|
DROP COLUMN cat_file_flip_checked;
|
||||||
|
|
||||||
|
ALTER TABLE public.checked_headers
|
||||||
|
DROP COLUMN cat_file_pit_vow_checked;
|
@ -32,3 +32,12 @@ CREATE TABLE maker.cat_file_pit_vow (
|
|||||||
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 cat_file_chop_lump_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
||||||
|
|
||||||
|
ALTER TABLE public.checked_headers
|
||||||
|
ADD COLUMN cat_file_flip_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
||||||
|
|
||||||
|
ALTER TABLE public.checked_headers
|
||||||
|
ADD COLUMN cat_file_pit_vow_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
@ -1,3 +0,0 @@
|
|||||||
DROP TABLE maker.cat_file_chop_lump;
|
|
||||||
DROP TABLE maker.cat_file_flip;
|
|
||||||
DROP TABLE maker.cat_file_pit_vow;
|
|
@ -1,6 +0,0 @@
|
|||||||
ALTER TABLE public.checked_headers
|
|
||||||
DROP COLUMN cat_file_chop_lump_checked;
|
|
||||||
ALTER TABLE public.checked_headers
|
|
||||||
DROP COLUMN cat_file_flip_checked;
|
|
||||||
ALTER TABLE public.checked_headers
|
|
||||||
DROP COLUMN cat_file_pit_vow_checked;
|
|
@ -1,6 +0,0 @@
|
|||||||
ALTER TABLE public.checked_headers
|
|
||||||
ADD COLUMN cat_file_chop_lump_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
|
||||||
ALTER TABLE public.checked_headers
|
|
||||||
ADD COLUMN cat_file_flip_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
|
||||||
ALTER TABLE public.checked_headers
|
|
||||||
ADD COLUMN cat_file_pit_vow_checked BOOLEAN NOT NULL DEFAULT FALSE;
|
|
Loading…
Reference in New Issue
Block a user