This commit is contained in:
Jörn-Michael Miehe 2022-03-28 00:55:18 +00:00
parent bc3f7984f5
commit 89069c9d0f

View file

@ -22,7 +22,7 @@ class DeviceCreate(DeviceBase):
owner_name: str | None owner_name: str | None
class Device(DeviceBase, table=True, ): class Device(DeviceBase, table=True):
__table_args__ = (UniqueConstraint( __table_args__ = (UniqueConstraint(
"owner_name", "owner_name",
"name", "name",