Consolidate migrations

- Facilitate modifying migrations without cascading consequences for
  later migrations updating the same tables
This commit is contained in:
Rob Mulholand
2019-03-23 10:57:39 -05:00
parent 2e8f3109aa
commit d9e2bece27
48 changed files with 103 additions and 409 deletions
@@ -0,0 +1,10 @@
-- +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;