2019-01-22 12:15:29 +00:00
|
|
|
-- +goose Up
|
2017-11-13 16:11:27 +00:00
|
|
|
CREATE TABLE watched_contracts
|
2017-11-09 19:59:12 +00:00
|
|
|
(
|
2019-03-18 22:21:31 +00:00
|
|
|
contract_id SERIAL PRIMARY KEY,
|
|
|
|
contract_abi json,
|
|
|
|
contract_hash VARCHAR(66) UNIQUE
|
2019-01-22 14:07:11 +00:00
|
|
|
);
|
2019-01-22 12:15:29 +00:00
|
|
|
|
|
|
|
-- +goose Down
|
2019-01-22 14:07:11 +00:00
|
|
|
DROP TABLE watched_contracts;
|