diff options
| author | Melvyn Sopacua <m.r.sopacua@gmail.com> | 2017-02-20 15:45:20 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-07-26 13:47:35 -0400 |
| commit | 5bb9b9a3881fb1a334efb2c1357a20bdce68a960 (patch) | |
| tree | 3d066ba8c7f55ba66e7babcf9e2e559bfb334845 /docs/topics | |
| parent | 5ccbcc5bf61c746a1d5ec2b3d2e0dc56c1a63fe0 (diff) | |
Fixed #28363 -- Allowed naming the migration generated by squashmigrations.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/migrations.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index a2eae4ff3d..6f0e3b912e 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -605,6 +605,9 @@ work:: all instances of the codebase have applied the migrations you squashed, you can delete them. +Use the :option:`squashmigrations --squashed-name` option if you want to set +the name of the squashed migration rather than use an autogenerated one. + Note that model interdependencies in Django can get very complex, and squashing may result in migrations that do not run; either mis-optimized (in which case you can try again with ``--no-optimize``, though you should also report an issue), |
