#30712: MySQL 8 supports defaults for BLOB and TEXT columns
-------------------------------------+-------------------------------------
Reporter: Adam | Owner: nobody
(Chainz) Johnson |
Type: New | Status: new
feature |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Whilst implementing #27676 for MariaDB, I learned that MySQL 8.0.13+
allows defaults for BLOB and TEXT columns as well.
It has a caveat though - static defaults must always be wrapped in
parentheses for such columns.
https://dev.mysql.com/doc/refman/8.0/en/data-type-defaults.html
--
Ticket URL: <https://code.djangoproject.com/ticket/30712>
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/053.0af4eefd1932dd4952c1eec87984035c%40djangoproject.com.