Skip to content

Commit

Permalink
[3.0.x] Doc'd that migrate commmand accepts a unique migration name p…
Browse files Browse the repository at this point in the history
…refix.

Backport of e02f67e from master
  • Loading branch information
davidmgvaz authored and felixxm committed Sep 30, 2019
1 parent 5d63bf0 commit 30a613a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/ref/django-admin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,10 @@ The behavior of this command changes depending on the arguments provided:
* ``<app_label> <migrationname>``: Brings the database schema to a state where
the named migration is applied, but no later migrations in the same app are
applied. This may involve unapplying migrations if you have previously
migrated past the named migration. Use the name ``zero`` to migrate all the
way back i.e. to revert all applied migrations for an app.
migrated past the named migration. You can use a prefix of the migration
name, e.g. ``0001``, as long as it's unique for the given app name. Use the
name ``zero`` to migrate all the way back i.e. to revert all applied
migrations for an app.

.. warning::

Expand Down

0 comments on commit 30a613a

Please sign in to comment.