ipld-eth-server/db/migrations/1532468319_create_flip_kick_table.up.sql
Elizabeth 53635ec362 Update flip kick and tend transformers due to contract changes
* Update FlipperAddress to new local ganache address

* Update flip_kick table

* Update flipkick transformer to handle new signature and abi

* Update tend table

* Update tend converter
2018-09-04 15:50:29 -05:00

13 lines
405 B
SQL

CREATE TABLE maker.flip_kick (
db_id SERIAL PRIMARY KEY,
header_id INTEGER NOT NULL REFERENCES headers (id) ON DELETE CASCADE,
id NUMERIC NOT NULL UNIQUE,
lot NUMERIC,
bid NUMERIC,
gal VARCHAR,
"end" TIMESTAMP WITH TIME ZONE,
urn VARCHAR,
tab NUMERIC,
raw_log JSONB
);