Replace "events" table with "events_for_migration"
In 9.5 we introduced a new temporary table called "events_for_migration". This table will replace "events" in 10.0. We need to code together the following:
- A migration which swaps the two tables
- A migration that drops the old events table
- Changes to the code to stop replicating events to both tables
- A migration which adjusts any foreign keys if necessary
- A migration which processes any remaining background jobs
Edited by yorickpeterse-staging