main functions commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-19 19:50:00 +09:00
parent ce72785184
commit 3050e084fa
39 changed files with 7149 additions and 186 deletions

View File

@@ -17,5 +17,5 @@ class EmergencyContact(BaseModel):
relation_type = Column(String(50)) # Переименовано из relationship в relation_type
notes = Column(Text)
# Отношение к пользователю
user = orm_relationship("User", back_populates="emergency_contacts")
# Отношение к пользователю (без back_populates для избежания циклических зависимостей)
user = orm_relationship("User")