Skip to content

Commit

Permalink
Improve naming relations
Browse files Browse the repository at this point in the history
Co-authored-by: Walter Baccinelli <[email protected]>
  • Loading branch information
bscheltinga and wbaccinelli authored Dec 5, 2022
1 parent 30fcfbe commit e0674a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbschema/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class Users(Base):
dob = Column(Date)

# Refer to relationships
dialog_answers = relationship('DialogClosedAnswers')
dialog_answers = relationship('DialogOpenAnswers')
dialog_closed_answers = relationship('DialogClosedAnswers')
dialog_open_answers = relationship('DialogOpenAnswers')
user_intervention_state = relationship("UserInterventionState", back_populates="user")
user_preferences = relationship("UserPreferences", back_populates="user")
first_aid_kit = relationship("FirstAidKit", back_populates="user")
Expand Down

0 comments on commit e0674a3

Please sign in to comment.