Skip to content

Commit

Permalink
Merge pull request #94 from EspressoSystems/fix/sql
Browse files Browse the repository at this point in the history
Fix typo in state DB SQL migration
  • Loading branch information
Ancient123 authored Jan 16, 2024
2 parents c43b825 + a383aeb commit 013f146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrations/state/0001.sql
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ CREATE TABLE state.virtual_batch
batch_num BIGINT PRIMARY KEY REFERENCES state.batch (batch_num) ON DELETE CASCADE,
tx_hash VARCHAR,
coinbase VARCHAR,
block_num BIGINT NOT NULL REFERENCES state.block (block_num) ON DELETE CASCADE
block_num BIGINT NOT NULL REFERENCES state.block (block_num) ON DELETE CASCADE,
seen_at BIGINT NOT NULL REFERENCES state.block (block_num) ON DELETE CASCADE
);

Expand Down

0 comments on commit 013f146

Please sign in to comment.