mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #29198 -- Added migrate --plan option.
This commit is contained in:
committed by
Tim Graham
parent
1160a97596
commit
058d33f3ed
@@ -804,6 +804,13 @@ option does not, however, check for matching database schema beyond matching
|
||||
table names and so is only safe to use if you are confident that your existing
|
||||
schema matches what is recorded in your initial migration.
|
||||
|
||||
.. django-admin-option:: --plan
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
Shows the migration operations that will be performed for the given ``migrate``
|
||||
command.
|
||||
|
||||
.. django-admin-option:: --run-syncdb
|
||||
|
||||
Allows creating tables for apps without migrations. While this isn't
|
||||
|
||||
@@ -175,7 +175,8 @@ Management Commands
|
||||
Migrations
|
||||
~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* The new :option:`migrate --plan` option prints the list of migration
|
||||
operations that will be performed.
|
||||
|
||||
Models
|
||||
~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user