Skip to content

Commit

Permalink
(NOBIDS) db: fix last db-migration (#2870)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush authored Apr 22, 2024
1 parent cc72395 commit d5d8825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migrations/20240422141500_add_withdrawals_amount_index.sql
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
-- +goose NO TRANSACTION

-- +goose Up
-- +goose StatementBegin
SELECT 'up SQL query - add an index for the amount of the withdrawals';
-- +goose StatementBegin
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_blocks_withdrawals_amount ON blocks_withdrawals (amount);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
SELECT 'down SQL query - remove the index for the amount of the withdrawals';
-- +goose StatementBegin
DROP INDEX CONCURRENTLY IF EXISTS idx_blocks_withdrawals_amount;
-- +goose StatementEnd

0 comments on commit d5d8825

Please sign in to comment.