This commit is contained in:
Jörn-Michael Miehe 2022-03-25 23:56:57 +00:00
parent c47fa5a89b
commit 557bceed1f

View file

@ -57,7 +57,7 @@ class Device(ORMBaseModel):
expiry = Column(DateTime) expiry = Column(DateTime)
owner: User = relationship( owner: User = relationship(
"User", lazy="joined", back_populates="distinguished_names" "User", lazy="joined", back_populates="devices"
) )
UniqueConstraint( UniqueConstraint(