mirror of
https://github.com/django/django.git
synced 2025-05-29 18:26:29 +00:00
Fixed #25936 -- Added showmigrations to migrations topic guide.
This commit is contained in:
parent
d52b0c5b38
commit
394e59099c
@ -24,6 +24,8 @@ and Django's handling of database schema:
|
|||||||
|
|
||||||
* :djadmin:`sqlmigrate`, which displays the SQL statements for a migration.
|
* :djadmin:`sqlmigrate`, which displays the SQL statements for a migration.
|
||||||
|
|
||||||
|
* :djadmin:`showmigrations`, which lists a project's migrations.
|
||||||
|
|
||||||
You should think of migrations as a version control system for your database
|
You should think of migrations as a version control system for your database
|
||||||
schema. ``makemigrations`` is responsible for packaging up your model changes
|
schema. ``makemigrations`` is responsible for packaging up your model changes
|
||||||
into individual migration files - analogous to commits - and ``migrate`` is
|
into individual migration files - analogous to commits - and ``migrate`` is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user