mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #29548 -- Mentioned MariaDB in database system checks.
This commit is contained in:
@@ -373,7 +373,8 @@ class CharFieldTests(SimpleTestCase):
|
||||
validator = DatabaseValidation(connection=connection)
|
||||
self.assertEqual(validator.check_field(field), [
|
||||
Error(
|
||||
'MySQL does not allow unique CharFields to have a max_length > 255.',
|
||||
'%s does not allow unique CharFields to have a max_length > '
|
||||
'255.' % connection.display_name,
|
||||
obj=field,
|
||||
id='mysql.E001',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user