mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-25 00:25:04 +08:00
fix: 数据库迁移错误
This commit is contained in:
parent
fab5be70b3
commit
0e996c07df
@ -39,7 +39,7 @@ class GlobalPlugin(LiteModel):
|
|||||||
|
|
||||||
|
|
||||||
def auto_migrate():
|
def auto_migrate():
|
||||||
user_db.auto_migrate(User())
|
user_db.auto_migrate(User)
|
||||||
group_db.auto_migrate(GroupChat())
|
group_db.auto_migrate(GroupChat)
|
||||||
plugin_db.auto_migrate(InstalledPlugin())
|
plugin_db.auto_migrate(InstalledPlugin)
|
||||||
common_db.auto_migrate(GlobalPlugin())
|
common_db.auto_migrate(GlobalPlugin)
|
||||||
|
Loading…
Reference in New Issue
Block a user