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

Fix: Admin autorization

This commit is contained in:
MoonTestUse1
2025-01-07 08:10:40 +06:00
parent eaafb9cf8f
commit a40bd9af73
4 changed files with 92 additions and 74 deletions

View File

@@ -9,6 +9,7 @@ class Employee(Base):
__tablename__ = "employees"
id = Column(Integer, primary_key=True, index=True)
login = Column(String, unique=True, nullable=False, index=True)
first_name = Column(String, nullable=False)
last_name = Column(String, nullable=False)
department = Column(String, nullable=False)