#29720: Validating migrations using manage.py -------------------------------------+------------------------------------- Reporter: Thomas Basche | Owner: nobody Type: New feature | Status: new Component: Migrations | Version: 2.1 Severity: Normal | Resolution: Keywords: migrations, | Triage Stage: manage.py, validation | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham): It's not clear to me what you're proposing. If I understand the scenario you're describing, you'll get an error if you run `makemigrations --check`. Is that insufficient? {{{ $ python manage.py makemigrations --check CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0002_auto_201808429_2051, 0002_auto_20180829_2051 in polls). To fix them run 'python manage.py makemigrations --merge' }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29720#comment:1> 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/067.601f7e57cf91052e4586416ca537584a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.