mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
posts and topics tables can be huge, this migration change ensures the migration performs less work in one giant transaction reducing risk of deadlocks Migration is re-runnable thanks to NOT EXISTS checks