Name all initial migrations "NNNN_initial".
When the MigrationAutodetector
creates more than one initial migration in a app, name all initial migrations "initial" rather than the opaque "auto_<DATE>_<TIME>" name. This name provides more information to the reader about its origin and is reproducible.
Initial migrations that have a descriptive name can continue to use the more descriptive name.
Change History
(8)
Summary: |
Change MigrationAutodetector to name all initial migraitons "NNNN_initial" rather than "auto_<DATE>_<TIME>" → Name all initial migrations "NNNN_initial".
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Jon Dufresne
|
Patch needs improvement: |
set
|
Status: |
new → assigned
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
https://github.com/django/django/pull/13062