From c29a3fd6d4017733c857b72ade4704fbefdc96d0 Mon Sep 17 00:00:00 2001 From: snowy Date: Mon, 5 Aug 2024 07:23:04 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=95=B0=E6=8D=AE=E5=BA=93=E6=9C=AA?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E8=BF=81=E7=A7=BB=E5=89=8D=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/base/data_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/base/data_manager.py b/src/utils/base/data_manager.py index f7d5647a..80670aa6 100644 --- a/src/utils/base/data_manager.py +++ b/src/utils/base/data_manager.py @@ -61,6 +61,7 @@ class TempConfig(LiteModel): data: dict = {} + def auto_migrate(): user_db.auto_migrate(User()) group_db.auto_migrate(Group())