Skip to content

Commit 5b5e1b6

Browse files
authored
fix: add non-concurrent index creation migrations (#579)
* get rid of concurrent * add migrations for bid auction_id index
1 parent 4c313b2 commit 5b5e1b6

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
-- sqlx-no-transaction
2-
CREATE INDEX CONCURRENTLY auction_creation_time_idx ON auction (creation_time);
1+
CREATE INDEX auction_creation_time_idx ON auction (creation_time);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP INDEX IF EXISTS idx_bid_auction_id;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX idx_bid_auction_id ON bid (auction_id);

0 commit comments

Comments
 (0)