[Django] #30712: MySQL 8 supports defaults for BLOB and TEXT columns

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #30712: MySQL 8 supports defaults for BLOB and TEXT columns

Django
#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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/053.0af4eefd1932dd4952c1eec87984035c%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add MySQL 8 support for defaults on BLOB and TEXT columns. (was: MySQL 8 supports defaults for BLOB and TEXT columns)

Django
#30712: Add MySQL 8 support for defaults on BLOB and TEXT columns.
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  nobody
  Johnson                            |
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             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):

 * keywords:   => MySQL, default
 * stage:  Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/30712#comment:1>
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.37db30f5643fa89cd395e36164abab07%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+ (was: Add MySQL 8 support for defaults on BLOB and TEXT columns.)

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  nobody
  Johnson                            |
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/30712#comment:2>
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.9b1cdb2753ca0fef2f21018d7cb89179%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Nasir
  Johnson                            |  Hussain
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Nasir Hussain):

 * status:  new => assigned
 * owner:  nobody => Nasir Hussain


--
Ticket URL: <https://code.djangoproject.com/ticket/30712#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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.b7c40672ec642b573f6e1305fa4a7c94%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Nasir
  Johnson                            |  Hussain
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Nasir Hussain):

 Created a PR [https://github.com/django/django/pull/11679
 django/django/pull/11679]

--
Ticket URL: <https://code.djangoproject.com/ticket/30712#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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.1ee54990a344bab90c398319b174bac1%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Nasir
  Johnson                            |  Hussain
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Nasir Hussain):

 * has_patch:  0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/30712#comment:5>
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.c277e43f71acf2129df67472509b390b%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Nasir
  Johnson                            |  Hussain
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * needs_better_patch:  0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/30712#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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.c362aab1aab807fa1bb7471554a7ea4c%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Nasir
  Johnson                            |  Hussain
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  MySQL, default       |             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 felixxm):

 * needs_better_patch:  1 => 0
 * stage:  Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/30712#comment:7>
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.0a51dd9580a3baab95146e67ac7876df%40djangoproject.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+

Django
In reply to this post by Django
#30712: Add support for defaults on BLOB and TEXT columns on MySQL 8.0.13+
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Nasir
  Johnson                            |  Hussain
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  MySQL, default       |             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 felixxm):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Fixed in 6b16c91157512587017e9178d066ed1a683e7795.

--
Ticket URL: <https://code.djangoproject.com/ticket/30712#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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.5b37c6c508fec9de8770fdd37e299333%40djangoproject.com.