d9e2bece27
- Facilitate modifying migrations without cascading consequences for later migrations updating the same tables
11 lines
188 B
SQL
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;
|