1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

чиним билд2

This commit is contained in:
MoonTestUse1
2025-01-01 23:57:19 +06:00
parent a541f50529
commit 2203f71f0e
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ class RequestStatus(str, enum.Enum):
class Request(Base):
__tablename__ = "requests"
__table_args__ = {'extend_existing': True}
id = Column(Integer, primary_key=True, index=True)
employee_id = Column(Integer, ForeignKey("employees.id"))