Behebung Fehler in 1:n Verknüpfung Benutzer ↔ Token #17

Merged
frlan merged 1 commits from fix-login into main 2021-06-23 12:45:44 +02:00
Owner

closes #4

closes #4
weeman added 1 commit 2021-06-22 17:36:33 +02:00
fix db error on second login
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
00619cbd05
weeman changed title from Behebung 1:n Verknüpfung Benutzer ↔ Token to Behebung Fehler in 1:n Verknüpfung Benutzer ↔ Token 2021-06-22 17:36:43 +02:00
weeman requested review from frlan 2021-06-22 17:36:52 +02:00
weeman reviewed 2021-06-22 17:37:18 +02:00
ki/models.py Outdated
@ -13,7 +13,7 @@ class User(db.Model):
auth_id = Column(String(50), nullable=False, unique=True)
profile_id = Column(Integer, ForeignKey("profile.id"), nullable=True)
tokens = relationship("Token", uselist=False, back_populates="user")
Author
Owner

Dat war der Übeltäter

Dat war der Übeltäter
weeman force-pushed fix-login from 00619cbd05 to a850a526e6 2021-06-22 17:38:42 +02:00 Compare
weeman force-pushed fix-login from a850a526e6 to 5d259635a2 2021-06-22 17:52:29 +02:00 Compare
frlan merged commit 5dc0f7153d into main 2021-06-23 12:45:44 +02:00
weeman deleted branch fix-login 2021-06-27 14:29:24 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kompetenzinventar/ki-backend#17
No description provided.