diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-26 12:34:26 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-17 09:20:12 -0500 |
| commit | f6463bb38047bac7a62826ca901e3c5add40cb10 (patch) | |
| tree | 888c079c7a5d470d3acb6ff5fae4a9f65db698a7 /docs/topics | |
| parent | f4f24d30e044b5bc2014b8356058099808c22c1a (diff) | |
Removed the syncdb command per deprecation timeline.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/migrations.txt | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index 1220b4b41f..e1d13457b7 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -12,17 +12,6 @@ Migrations are Django's way of propagating changes you make to your models designed to be mostly automatic, but you'll need to know when to make migrations, when to run them, and the common problems you might run into. -A Brief History ---------------- - -Prior to version 1.7, Django only supported adding new models to the -database; it was not possible to alter or remove existing models via the -``syncdb`` command (the predecessor to :djadmin:`migrate`). - -Third-party tools, most notably `South <http://south.aeracode.org>`_, -provided support for these additional types of change, but it was considered -important enough that support was brought into core Django. - The Commands ------------ @@ -157,8 +146,7 @@ database to make sure they work as expected:: Running migrations: Applying books.0003_auto... OK -The command runs in two stages; first, it synchronizes unmigrated apps -(performing the same functionality that ``syncdb`` used to provide), and +The command runs in two stages; first, it synchronizes unmigrated apps, and then it runs any migrations that have not yet been applied. Once the migration is applied, commit the migration and the models change |
