forked from cerc-io/ipld-eth-server
cid database table migrations
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE public.receipt_cids (
|
||||
id SERIAL PRIMARY KEY,
|
||||
tx_id INTEGER NOT NULL REFERENCES transaction_cids (id) ON DELETE CASCADE,
|
||||
cid TEXT NOT NULL
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE public.receipt_cids;
|
||||
Reference in New Issue
Block a user