(no title)
alephxyz | 1 year ago
`makemigrations --dry-run` is helpful to see if your manual migrations are complete but besides that I agree
alephxyz | 1 year ago
`makemigrations --dry-run` is helpful to see if your manual migrations are complete but besides that I agree
wfleming|1 year ago
This behavior is why `SeparateDatabaseAndState` is a necessary hack in Django: sometimes you need to do an `AlterField` where the SQL Django would generate is really bad, so you need to write your own `RunSQL` to do the right thing, but you also need Django to see the `AlterField` as applied or you'll have problems with future migrations.
I suppose I could modify my preference to "run makemigrations and then wrap every single op in SeparateDatabaseAndState", but that does not sound fun :).