mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fix index_together test
This commit is contained in:
parent
dbd3e775c1
commit
2202e3f7d3
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ class SchemaTests(TransactionTestCase):
|
|||
new_new_field = SlugField(unique=True)
|
||||
new_new_field.set_attributes_from_name("slug")
|
||||
with connection.schema_editor() as editor:
|
||||
editor.alter_unique_together(
|
||||
editor.alter_index_together(
|
||||
Tag,
|
||||
[("slug", "title")],
|
||||
[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue