#24184: Migrate auto-fake behavior is not safe ----------------------------+--------------------------------------------- Reporter: carljm | Owner: MarkusH Type: Bug | Status: closed Component: Migrations | Version: 1.7 Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+--------------------------------------------- Changes (by Markus Holtermann <info@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"f287bec5833d75750fa6368bc2802741b7924533"]: {{{ #!CommitTicketReference repository="" revision="f287bec5833d75750fa6368bc2802741b7924533" Fixed #24184 -- Prevented automatic soft-apply of migrations Previously Django only checked for the table name in CreateModel operations in initial migrations and faked the migration automatically. This led to various errors and unexpected behavior. The newly introduced --fake-initial flag to the migrate command must be passed to get the same behavior again. With this change Django will bail out in with a "duplicate relation / table" error instead. Thanks Carl Meyer and Tim Graham for the documentation update, report and review. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/24184#comment:8> 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/064.27e051cc6222faf8e51c08c61629eb3c%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.