fix: 数据库迁移错误

This commit is contained in:
远野千束 2024-03-24 09:44:23 +08:00
parent fab5be70b3
commit 0e996c07df

View File

@ -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)