Allow specifying a start migration in squashmigrations
The squashmigrations
command currently only supports squashing all migrations from 0001 to a given input. If a migration in between uses RunPython
or RunSQL
the current squashmigrations
behavior is infeasible due to restrictions from those two operations.
squashmigrations
should provide a way to define the first migration from which on the migrations are squashed up to the one given.
Change History (6)
Owner: |
set to Markus Holtermann
|
Status: |
new →
assigned
|
Has patch: |
set
|
Needs documentation: |
unset
|
Needs tests: |
unset
|
Triage Stage: |
Unreviewed →
Accepted
|
Description: |
modified (diff)
|
Summary: |
Add support to specify a start migration in squashmigrations →
Allow specifying a start migration in squashmigrations
|
Triage Stage: |
Accepted →
Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
PR: https://github.com/django/django/pull/5277