Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -29,4 +29,5 @@ async def init_db(
|
||||
):
|
||||
"""创建数据库结构"""
|
||||
async with engine.begin() as conn:
|
||||
await conn.run_sync(SQLModel.metadata.create_all)
|
||||
await conn.run_sync(SQLModel.metadata.create_all)
|
||||
|
||||
Reference in New Issue
Block a user