summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-18 09:15:24 -0400
committerTim Graham <timograham@gmail.com>2014-08-18 09:15:24 -0400
commit7ed3d0bb61f46f56b8a001b7b2d983eaf9a65466 (patch)
tree051c32e080d85db5cd9a5e1520cb3933b13aff96
parentdfde0b3b063c0ec511fe6d58789468b6c229c59b (diff)
Fixed #23263 -- Added sqlmigrate to migration topic guide.
-rw-r--r--docs/topics/migrations.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt
index 8b6d19764f..ec462ea0fa 100644
--- a/docs/topics/migrations.txt
+++ b/docs/topics/migrations.txt
@@ -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