forked from cerc-io/ipld-eth-server
Reference header sync logs address via foreign key
This commit is contained in:
@@ -4,7 +4,7 @@ CREATE TABLE header_sync_logs
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
header_id INTEGER NOT NULL REFERENCES headers (id) ON DELETE CASCADE,
|
||||
address VARCHAR(66),
|
||||
address INTEGER NOT NULL REFERENCES addresses (id) ON DELETE CASCADE,
|
||||
topics BYTEA[],
|
||||
data BYTEA,
|
||||
block_number BIGINT,
|
||||
|
||||
Reference in New Issue
Block a user