diff options
| author | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2016-11-05 21:56:13 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-05 22:21:32 +0100 |
| commit | 70d9effa0248323d2fa3634a484dfd5d59bc7cc9 (patch) | |
| tree | 2ce451c85818095416ade81b58716001a5495b7a /docs | |
| parent | 59bbacf88db1b533ae05ea38e01b5e1ec9f59622 (diff) | |
[1.10.x] Adjusted documentation of migration related commands.
Backport of d1dbaeaadb659e61c8f351457c25cac1604675bb from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/migrations.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index 6e8cf082b0..c248b34e6c 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -16,15 +16,16 @@ The Commands 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 - unapplying and listing their status. +* :djadmin:`migrate`, which is responsible for applying and unapplying + migrations. * :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. -* :djadmin:`showmigrations`, which lists a project's migrations. +* :djadmin:`showmigrations`, which lists a project's migrations and their + status. You should think of migrations as a version control system for your database schema. ``makemigrations`` is responsible for packaging up your model changes |
