-
Notifications
You must be signed in to change notification settings - Fork 152
[EASY] Drop auction_orders and auction_participants tables in DB
#3753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit 900ab2c.
|
Reminder: Please update the DB Readme and comment whether migrations are reversible (include rollback scripts if applicable). Caused by: |
auction_orders table in DBauction_orders and auction_participants tables in DB
# Description The `auction_participans` table has become obsolete, since the same data is now stored in the `proposed_solutions`. This PR migrates usage to the latter table. The migration script will be a part of #3753, since this is a breaking change, which requires gradual deployment to avoid panics when running 2 auctions in parallel.
…protocol#3766) # Description The `auction_participans` table has become obsolete, since the same data is now stored in the `proposed_solutions`. This PR migrates usage to the latter table. The migration script will be a part of cowprotocol#3753, since this is a breaking change, which requires gradual deployment to avoid panics when running 2 auctions in parallel.
|
Reminder: Please update the DB Readme and comment whether migrations are reversible (include rollback scripts if applicable).
Caused by: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements a database migration to drop the auction_orders and auction_participants tables from the database, completing the cleanup work started in previous PRs #3751 and #3766.
Key changes:
- Adds a new database migration script to permanently remove auction-related tables
- Uses conditional DROP statements to safely handle cases where tables may not exist
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
It should be safe to merge since the code migration was released in https://github.com/cowprotocol/services/releases/tag/v2.331.0 |
auction_orders and auction_participants tables in DBauction_orders and auction_participants tables in DB
Actually drops the table from the DB. More details can be found in previous PRs: #3751, #3766. Must be released separately from the mentioned PRs.