fix commits restore main.py

This commit is contained in:
2024-01-05 22:26:38 +03:00
parent 9b8c3aa05a
commit 8f9e07d71b

View File

@@ -11,7 +11,9 @@ async def generate_test_data():
""" """
Создание БД и наполнение ее данными Создание БД и наполнение ее данными
""" """
print("generating data") from backend.queries.user import UserORM
await UserORM.create_tables()
await UserORM.insert_admin()
def create_app(): def create_app():