From 557bceed1f120d0863e1da718da22d68d74290c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Fri, 25 Mar 2022 23:56:57 +0000 Subject: [PATCH] legacy --- api/kiwi_vpn_api/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/kiwi_vpn_api/db/models.py b/api/kiwi_vpn_api/db/models.py index 06200ba..1097400 100644 --- a/api/kiwi_vpn_api/db/models.py +++ b/api/kiwi_vpn_api/db/models.py @@ -57,7 +57,7 @@ class Device(ORMBaseModel): expiry = Column(DateTime) owner: User = relationship( - "User", lazy="joined", back_populates="distinguished_names" + "User", lazy="joined", back_populates="devices" ) UniqueConstraint(