#31206: Migration crashes when altering a field to use the db_returning flag and
default value returned from database.
-------------------------------------+-------------------------------------
Reporter: Tom Kazimiers | Owner: Johannes
| Hoppe
Type: New feature | Status: closed
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* status: assigned => closed
* type: Bug => New feature
* has_patch: 1 => 0
* resolution: => duplicate
Comment:
After reconsideration I'm closing this ticket as a duplicate of #30032,
because we don't officially support using expressions in `Field.default`.
This should be fixed as a part of #30032.
--
Ticket URL: <https://code.djangoproject.com/ticket/31206#comment:4>
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/063.c78cb05473bd08805b98f7c1df66a758%40djangoproject.com.