diff --git a/database/sql/V113__drop_auction_orders.sql b/database/sql/V113__drop_auction_orders.sql new file mode 100644 index 0000000000..ca0b9a1aea --- /dev/null +++ b/database/sql/V113__drop_auction_orders.sql @@ -0,0 +1,6 @@ +-- Drop the redundant `auction_orders` junction table. Its data duplicated +-- `competition_auctions.order_uids`; the order->auction lookup now uses the GIN +-- index on that array (V112). The write path was removed in #4568, so this drop +-- ships one release later to ensure no pod running the old code still writes to +-- the table during the rollover. +DROP TABLE IF EXISTS auction_orders;