#24037: Migrating a legacy table results in data loss
-------------------------------------+-------------------------------------
Reporter: iambibhas | Owner: timgraham
Type: Bug | Status: closed
Component: Migrations | Version: 1.7
Severity: Release blocker | 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 Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"061caa5b386681dc7bdef16918873043224a299c"]:
{{{
#!CommitTicketReference repository=""
revision="061caa5b386681dc7bdef16918873043224a299c"
Fixed #24037 -- Prevented data loss possibility when changing
Meta.managed.
The migrations autodetector now issues AlterModelOptions operations for
Meta.managed changes instead of DeleteModel + CreateModel.
Thanks iambibhas for the report and Simon and Markus for review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24037#comment:6>
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/067.612f7982d607df26e94e79186fa84647%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.