2019-04-15 16:30:41 +00:00
|
|
|
-- +goose Up
|
|
|
|
CREATE TABLE public.receipt_cids (
|
|
|
|
id SERIAL PRIMARY KEY,
|
2019-06-07 02:09:27 +00:00
|
|
|
tx_id INTEGER NOT NULL REFERENCES transaction_cids (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
|
2019-04-30 17:48:31 +00:00
|
|
|
cid TEXT NOT NULL,
|
2019-06-20 15:59:10 +00:00
|
|
|
contract VARCHAR(66),
|
2019-04-30 17:48:31 +00:00
|
|
|
topic0s VARCHAR(66)[]
|
2019-04-15 16:30:41 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
-- +goose Down
|
|
|
|
DROP TABLE public.receipt_cids;
|