Fix: sync partitons for tables registered for partitioning
What does this MR do and why?
This MR fixes the problem from #391810 (closed).
How to set up and validate locally
Example below:
- On
master
, executedb:migrate RAILS_ENV=test
. Once it's completed there will be changes tostructure.sql
as described in #391810 (closed). - On this branch,
db:migrate RAILS_ENV=test
should not result in any changes tostructure.sql
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Krasimir Angelov