Unapplying migrations in a branch

2020-12-16 Thread Roman Odaisky
Hi All, I would like to solicit some further comments regarding #32267. The main question is: Should Django support unapplying migrations in a branch? Typical use case: $ git switch otherdeveloper/feature $ manage.py migrate Applying app.0051_migration_from_feature... OK Applying app.0052_migra

Re: Unapplying migrations in a branch

2020-12-16 Thread Roman Odaisky
On Wednesday, 16 December 2020 23:38:55 EET Adam Johnson wrote: > > manage.py migrate app 0050_migration_from_master will unapply too much > > (specifically, all the subsequent migrations from master) > > I don't follow you. This is exactly the thing I do, migrating back to the > last common migra

Re: Unapplying migrations in a branch

2020-12-16 Thread Roman Odaisky
On Thursday, 17 December 2020 02:28:02 EET James Bennett wrote: > On Wed, Dec 16, 2020 at 1:39 PM Adam Johnson wrote: > >> manage.py migrate app 0050_migration_from_master will unapply too much > >> (specifically, all the subsequent migrations from master)> > > I don't follow you. This is exactly

Re: Unapplying migrations in a branch

2020-12-17 Thread Roman Odaisky
> If we were going to make something like this that is Django > specific, we’d normally want to have a working, battle-tested third party > implementation before considering merging it to core. Let me try to reformulate it in different terms. It’s not about some new big workflow. It’s not about