Skip to content

Commit 3b6eb6c

Browse files
Remove superfluous index in test case
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
1 parent fa69e6c commit 3b6eb6c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_attribute_keyed_dict.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ class Color(str, Enum):
1212

1313
class Child(SQLModel, table=True):
1414
__tablename__ = "children"
15-
__table_args__ = (
16-
Index("ix_children_parent_id_color", "parent_id", "color", unique=True),
17-
)
1815

1916
id: Optional[int] = Field(primary_key=True, default=None)
2017
parent_id: int = Field(foreign_key="parents.id")

0 commit comments

Comments
 (0)