-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Today I found a code like this:
class Migration(migrations.Migration):
# initial = True
dependencies = []And this was an initial migration for an app.
This suprised me:
- It works correctly
- It does not produce any warnings
- It is cryptic
What am I concerned about? I have an impression that all migrations with dependencies = [] must be initial, because otherwise they should be dependent on a previous migration. Am I correct?
So, I guess we can check this pretty easily in case initial really works this way.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request