ipld-eth-server/db/migrations/00004_create_contracts_table.sql
2019-08-28 09:26:13 -05:00

11 lines
188 B
SQL

-- +goose Up
CREATE TABLE watched_contracts
(
contract_id SERIAL PRIMARY KEY,
contract_abi json,
contract_hash VARCHAR(66) UNIQUE
);
-- +goose Down
DROP TABLE watched_contracts;