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