mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-11 09:59:50 +08:00
fix: update tortoise-orm dependency to version 1.0.0
This commit is contained in:
@@ -13,7 +13,7 @@ TORTOISE_ORM = {
|
||||
}
|
||||
|
||||
async def init_db():
|
||||
await Tortoise.init(config=TORTOISE_ORM)
|
||||
await Tortoise.init(config=TORTOISE_ORM, _enable_global_fallback=True)
|
||||
await Tortoise.generate_schemas()
|
||||
await runtime_registry.refresh()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user