重构路由 x
This commit is contained in:
@@ -135,6 +135,7 @@ async def init_database(keep_connected: bool = True):
|
|||||||
await init_roles(session, perm_map)
|
await init_roles(session, perm_map)
|
||||||
await create_admin_user(session)
|
await create_admin_user(session)
|
||||||
|
|
||||||
|
|
||||||
logger.info("数据库初始化完成")
|
logger.info("数据库初始化完成")
|
||||||
print("=" * 60)
|
print("=" * 60)
|
||||||
print("数据库初始化成功!")
|
print("数据库初始化成功!")
|
||||||
|
|||||||
Reference in New Issue
Block a user