Store contract ABI on watched_contracts

This commit is contained in:
Eric Meyer
2017-12-04 14:13:15 -06:00
parent 52e3266495
commit fa2766b64d
7 changed files with 33 additions and 12 deletions
@@ -0,0 +1,2 @@
ALTER TABLE watched_contracts
DROP COLUMN contract_abi;
@@ -0,0 +1,2 @@
ALTER TABLE watched_contracts
ADD COLUMN contract_abi json;
+4 -3
View File
@@ -2,8 +2,8 @@
-- PostgreSQL database dump
--
-- Dumped from database version 10.1
-- Dumped by pg_dump version 10.1
-- Dumped from database version 10.0
-- Dumped by pg_dump version 10.0
SET statement_timeout = 0;
SET lock_timeout = 0;
@@ -124,7 +124,8 @@ ALTER SEQUENCE transactions_id_seq OWNED BY transactions.id;
CREATE TABLE watched_contracts (
contract_id integer NOT NULL,
contract_hash character varying(66)
contract_hash character varying(66),
contract_abi json
);