#23302: Cannot give a name to a migration from command line
-------------------------------+----------------------
     Reporter:  rsalmaso       |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Migrations     |    Version:  1.7-rc-2
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+----------------------
 With south, I can (or must) give a (possibly meaningful) name to a
 migration step

 {{{
 $ ./manage.py schemamigration --auto add_a_flag
 }}}

 {{{
 $ ./manage.py schemamigration --empty my_schema_change_name
 }}}

 With django migrations it is impossible, it defaults to some "random" text

 {{{
 $ ./manage.py makemigrations myapp --empty pippo
 App 'pippo' could not be found. Is it in INSTALLED_APPS?
 }}}

 you must change after creation
 {{{
 $ ./manage.py makemigrations myapp --empty
 $ cd $APP/migrations
 $ mv XXXX_23833_93333.py XXXX_migration.py
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23302>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.3e84d145cf426cab8828c028123a454c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to