fix commits restore main.py

develop
Сергей Ванюшкин 2024-01-05 22:26:38 +03:00
parent 9b8c3aa05a
commit 8f9e07d71b
1 changed files with 3 additions and 1 deletions

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():