forked from polka_billy/porridger
Fixed initial tables creation
This commit is contained in:
@ -17,5 +17,4 @@ Base = declarative_base()
|
||||
# Создаем таблицы
|
||||
async def init_models():
|
||||
async with engine.begin() as conn:
|
||||
await conn.run_sync(Base.metadata.drop_all)
|
||||
await conn.run_sync(Base.metadata.create_all)
|
||||
await conn.run_sync(Base.metadata.create_all)
|
||||
|
Reference in New Issue
Block a user