From 86e9744593c6688849da8adc26bf19e51404c113 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Fri, 13 Feb 2015 11:47:35 -0700 Subject: [PATCH] [1.7.x] Fixed #24337 - Added stronger documentation warning about automatic fake-initial. --- docs/topics/migrations.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index c6eec5e31d..27373a51fd 100755 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -742,7 +742,8 @@ If you already have pre-existing migrations created with migration directories and make new initial migrations in the new format. * Run ``python manage.py migrate``. Django will see that the tables for the initial migrations already exist and mark them as applied without running - them. + them. (Only matching table names are checked; not their full schema - it's up + to you to make sure the existing schema is up to date with your models!) That's it! The only complication is if you have a circular dependency loop of foreign keys; in this case, ``makemigrations`` might make more than one