You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some migrations require the previous ones to be applied (e.g. changing unique constraints)
We can lint not only the migrations' SQL, but also check whether migrations can be applied from scratch
I suggest a new flag like --migrate-from-scratch that could make the linter behave like this. The only limitation is this the option can clash with some other (app_label, migration_name, include-name, etc)
The text was updated successfully, but these errors were encountered:
The flow is exactly:
etc.
The main reason is that:
I suggest a new flag like
--migrate-from-scratch
that could make the linter behave like this. The only limitation is this the option can clash with some other (app_label, migration_name, include-name, etc)The text was updated successfully, but these errors were encountered: