forked from cerc-io/ipld-eth-server
Update tend, flipkick and dent tables for consistency (#24)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
CREATE TABLE maker.dent (
|
||||
db_id SERIAL PRIMARY KEY,
|
||||
id SERIAL PRIMARY KEY,
|
||||
header_id INTEGER NOT NULL REFERENCES headers (id) ON DELETE CASCADE,
|
||||
bid_id NUMERIC NOT NULL UNIQUE,
|
||||
lot NUMERIC,
|
||||
@@ -7,5 +7,6 @@ CREATE TABLE maker.dent (
|
||||
guy BYTEA,
|
||||
tic NUMERIC,
|
||||
tx_idx INTEGER NOT NUll,
|
||||
raw_log JSONB
|
||||
raw_log JSONB,
|
||||
UNIQUE (header_id, tx_idx)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user