#32925: TextField default text not populate to MySQL data when migrate
-------------------------------------+-------------------------------------
Reporter: Edgenius | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Edgenius):
I doubt if this need to rely on database. It can programatically update
this default value to the existing columns when runs migrate. At
model.save(), it can save this default value to database. Yes, I
understand this need some tweak on migration code, but it most like an
inconsistent from django, rather than database limitation.
--
Ticket URL: <https://code.djangoproject.com/ticket/32925#comment:3>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.f79b5c8acf603f2c067793eb458f601b%40djangoproject.com.