Skip to content

Commit

Permalink
fs migration
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Jan 20, 2025
1 parent dbecff3 commit 27ab511
Show file tree
Hide file tree
Showing 5 changed files with 618 additions and 90 deletions.
2 changes: 1 addition & 1 deletion sequencer/api/migrations/sqlite/V301__epoch_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ CREATE INDEX quorum_certificate2_leaf_hash_idx ON quorum_certificate (leaf_hash)

CREATE TABLE epoch_migration (
table_name TEXT PRIMARY KEY,
completed bool DEFAULT FALSE
completed bool NOT NULL DEFAULT FALSE
);

INSERT INTO epoch_migration ("table_name") VALUES ("anchor_leaf"), ("da_proposal"), ("vid_share"), ("undecided_state"), ("quorum_proposals"), ("quorum_certificates");
Loading

0 comments on commit 27ab511

Please sign in to comment.