ipld-eth-server/db/migrations/1534295712_create_tend_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

12 lines
368 B
SQL

CREATE TABLE maker.tend (
db_id SERIAL PRIMARY KEY,
header_id INTEGER NOT NULL REFERENCES headers (id) ON DELETE CASCADE,
bid_id NUMERIC NOT NULL UNIQUE,
lot NUMERIC,
bid NUMERIC,
guy VARCHAR,
tic NUMERIC,
tx_idx INTEGER NOT NUll,
raw_log JSONB
);