I have written patches for a Django project that take forever to be integrated upstream (or may not even be). Due to this, I have local migrations that I need to maintain.
However, due to the way the migration numbering system works, I have to update their numbers everytime upstream adds a new migrations, and that doesn’t even work properly as it creates conflicts with the database state.
I’ve been trying to move them to a separate app, but it doesn’t seem to be possible to apply them to the original app then.
How to properly maintain your own set of migrations?