From 0e996c07df79b2ac3df15ee34ca83a67da5954b4 Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 24 Mar 2024 09:44:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki/utils/data_manager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/liteyuki/utils/data_manager.py b/liteyuki/utils/data_manager.py index 33773d7..06ad3ca 100644 --- a/liteyuki/utils/data_manager.py +++ b/liteyuki/utils/data_manager.py @@ -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)