mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 14:05:03 +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