-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
core/lib/dal/migrations/20240202150009_transaction_batch_index.down.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 |
---|---|---|
@@ -1 +1,3 @@ | ||
DROP INDEX IF EXISTS transactions_l1_batch_number_idx; | ||
DROP INDEX IF EXISTS aggregated_proof_from_l1_batch_index; | ||
DROP INDEX IF EXISTS aggregated_proof_to_l1_batch_index; |
2 changes: 2 additions & 0 deletions
2
core/lib/dal/migrations/20240202150009_transaction_batch_index.up.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 |
---|---|---|
@@ -1 +1,3 @@ | ||
CREATE INDEX IF NOT EXISTS transactions_l1_batch_number_idx ON transactions (l1_batch_number); | ||
CREATE INDEX IF NOT EXISTS aggregated_proof_from_l1_batch_index ON aggregated_proof (from_block_number); | ||
CREATE INDEX IF NOT EXISTS aggregated_proof_to_l1_batch_index ON aggregated_proof (to_block_number); |