Fixed #23263 -- Added sqlmigrate to migration topic guide.
This commit is contained in:
parent
dfde0b3b06
commit
7ed3d0bb61
|
@ -26,7 +26,7 @@ important enough that support was brought into core Django.
|
|||
Two Commands
|
||||
------------
|
||||
|
||||
There are two commands which you will use to interact with migrations
|
||||
There are several commands which you will use to interact with migrations
|
||||
and Django's handling of database schema:
|
||||
|
||||
* :djadmin:`migrate`, which is responsible for applying migrations, as well as
|
||||
|
@ -35,6 +35,8 @@ and Django's handling of database schema:
|
|||
* :djadmin:`makemigrations`, which is responsible for creating new migrations
|
||||
based on the changes you have made to your models.
|
||||
|
||||
* :djadmin:`sqlmigrate`, which displays the SQL statements for a migration.
|
||||
|
||||
It's worth noting that migrations are created and run on a per-app basis.
|
||||
In particular, it's possible to have apps that *do not use migrations* (these
|
||||
are referred to as "unmigrated" apps) - these apps will instead mimic the
|
||||
|
|
Loading…
Reference in New Issue