diff --git a/build/db.sql b/build/db.sql index 5586943..cf6be51 100644 --- a/build/db.sql +++ b/build/db.sql @@ -76,6 +76,7 @@ CREATE TABLE core.transactions id uuid PRIMARY KEY DEFAULT(gen_random_uuid()), transaction_hash text NOT NULL, address address /* NOT NULL */, + contract address /* NOT NULL */, block_timestamp integer NOT NULL, block_number text NOT NULL, transaction_sender address, diff --git a/sql/rds.sql b/sql/rds.sql index c4a290b..6d64494 100644 --- a/sql/rds.sql +++ b/sql/rds.sql @@ -76,6 +76,7 @@ CREATE TABLE core.transactions id uuid PRIMARY KEY DEFAULT(gen_random_uuid()), transaction_hash text NOT NULL, address address /* NOT NULL */, + contract address /* NOT NULL */, block_timestamp integer NOT NULL, block_number text NOT NULL, transaction_sender address,