mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #29548 -- Mentioned MariaDB in database system checks.
This commit is contained in:
parent
fc0fa72ff4
commit
6e026aec5f
3 changed files with 23 additions and 13 deletions
|
@ -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',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue