#23961: MIGRATION_MODULES and makemigration with no arguments
-------------------------------+-----------------------
     Reporter:  dibrovsd       |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Migrations     |    Version:  1.7
     Severity:  Normal         |   Keywords:  migration
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  1              |      UI/UX:  0
-------------------------------+-----------------------
 in settings:

 {{{
 MIGRATION_MODULES = {
     'docflow': 'docflow_projects.migrations',
 }
 }}}

 case 1) app docflow has no package "migrations"
 - ./manage.py makemigrations
 initial migration not create

 case 2) app docflow has package "migrations"
 - run "./manage.py makemigrations"
 created initial migration in docflow_projects.migrations 0001_initial (ok)
 - run "./manage.py makemigrations"
 create migration deleted all field and models in app!
 0002_auto_20141205_1349 (error)
 - run "./manage.py makemigrations"
 raise
 CommandError: Conflicting migrations detected (0002_auto_20141205_1349,
 0001_initial in docflow).

 case 3)
 run ./manage.py makemigrations docflow
 it's ok

--
Ticket URL: <https://code.djangoproject.com/ticket/23961>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.94fc73bc1199bca058815169e492568f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to