mirror of
https://github.com/django/django.git
synced 2025-07-19 09:09:13 +00:00
Backport of f3595b25496691966d4ff858a3b395735ad85a6e from master
This commit is contained in:
parent
d58a324bea
commit
a0e3cbaa2b
@ -1819,6 +1819,10 @@ class SchemaTests(TransactionTestCase):
|
||||
['schema_tag_slug_2c418ba3_like', 'schema_tag_slug_key']
|
||||
)
|
||||
|
||||
@unittest.skipIf(
|
||||
connection.vendor == 'mysql' and connection.mysql_version < (5, 6, 6),
|
||||
'Skip known bug renaming primary keys on older MySQL versions (#24995).'
|
||||
)
|
||||
def test_alter_pk_with_self_referential_field(self):
|
||||
"""
|
||||
Changing the primary key field name of a model with a self-referential
|
||||
|
Loading…
x
Reference in New Issue
Block a user