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

Fix database

This commit is contained in:
MoonTestUse1
2025-01-07 06:25:57 +06:00
parent 04c29924fb
commit 117f5af0cb
3 changed files with 12 additions and 12 deletions

View File

@@ -1,10 +1,6 @@
"""Models initialization"""
from ..database import Base, engine
"""Models package"""
from .employee import Employee
from .request import Request
from .token import Token
# Создаем все таблицы
Base.metadata.create_all(bind=engine)
__all__ = ['Base', 'Employee', 'Request', 'Token']
__all__ = ["Employee", "Request", "Token"]