Skip to content

Commit

Permalink
Add contract field to transactions table
Browse files Browse the repository at this point in the history
  • Loading branch information
flashburst committed May 17, 2024
1 parent 920801c commit c506f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions sql/rds.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c506f20

Please sign in to comment.