-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tj/update_audit_folder
- Loading branch information
Showing
2 changed files
with
127 additions
and
2 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
sequencer/api/migrations/V301__merkle_root_column_indexes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Migration V16 created these columns and indexed them. Then, migration V36 altered the expression | ||
-- use to populate the generated columns. However, it did so by dropping and re-adding the columns | ||
-- with a different expression, which also caused the indexes on the columns to be dropped. They | ||
-- were erroneously not added back. This migration corrects that error by recreating the indexes. | ||
CREATE INDEX header_block_merkle_tree_root_idx ON header (block_merkle_tree_root); | ||
CREATE INDEX header_fee_merkle_tree_root_idx ON header (fee_merkle_tree_root); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters