DB Rubocop: Require disable_ddl_transaction on bbm finalization
Since finalize_batched_background_migration
can't be run in a transaction, we need to add a cop ensuring folks add disable_ddl_transaction
to their migrations that leverage ensure_batched_background_migration_is_finished
so it isn't missed. If there are incomplete batches when the ensure method is called, it will fail.
Related to !114483 (merged)
Edited by Alex Ives