mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
починка сотрудников
This commit is contained in:
@@ -16,4 +16,4 @@ class Employee(Base):
|
||||
created_at = Column(DateTime(timezone=True), server_default=func.now())
|
||||
|
||||
# Определяем отношение к Request
|
||||
requests = relationship("Request", back_populates="employee")
|
||||
requests = relationship("Request", back_populates="employee", cascade="all, delete-orphan")
|
Reference in New Issue
Block a user