diff options
author | Yuekui Li <liyuekui@gmail.com> | 2021-05-19 16:30:15 -0700 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-05-21 13:34:37 +0200 |
commit | 5e04e84d67da8163f365e9f5fcd169e2630e2873 (patch) | |
tree | 95b7951434e823a12ac50177ae5f6bf828a4dd92 /tests/schema/models.py | |
parent | 7cca22964c09e8dafc313a400c428242404d527a (diff) | |
download | django-5e04e84d67da8163f365e9f5fcd169e2630e2873.tar.gz |
Fixed #32503 -- Fixed altering BLOB/TEXT field to non-nullable with default on MySQL 8.0.13+.
MySQL 8.0.13+ supports defaults for BLOB/TEXT but not in the
ALTER COLUMN statement.
Regression in 6b16c91157512587017e9178d066ed1a683e7795.
Thanks Matt Westcott for the report.
Diffstat (limited to 'tests/schema/models.py')
-rw-r--r-- | tests/schema/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/schema/models.py b/tests/schema/models.py index 6d4465807a..75e4de0874 100644 --- a/tests/schema/models.py +++ b/tests/schema/models.py @@ -158,6 +158,7 @@ class IntegerPK(models.Model): class Note(models.Model): info = models.TextField() + address = models.TextField(null=True) class Meta: apps = new_apps |