mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #28552 -- Dropped support for MySQL 5.5.
This commit is contained in:
parent
6da140724d
commit
8a1768432b
10 changed files with 38 additions and 88 deletions
|
@ -2302,8 +2302,6 @@ class SchemaTests(TransactionTestCase):
|
|||
Changing the primary key field name of a model with a self-referential
|
||||
foreign key (#26384).
|
||||
"""
|
||||
if connection.vendor == 'mysql' and connection.mysql_version < (5, 6, 6):
|
||||
self.skipTest('Skip known bug renaming primary keys on older MySQL versions (#24995).')
|
||||
with connection.schema_editor() as editor:
|
||||
editor.create_model(Node)
|
||||
old_field = Node._meta.get_field('node_id')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue