ipld-eth-server/db/migrations/00004_create_contracts_table.sql

11 lines
188 B
MySQL
Raw Normal View History

-- +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;