fix commits restore main.py
This commit is contained in:
@@ -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():
|
||||
|
Reference in New Issue
Block a user