Commit 7ed3d0bb authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #23263 -- Added sqlmigrate to migration topic guide.

parent dfde0b3b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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