1
0
forked from bot/app

🐛 数据库未进行迁移前初始化

This commit is contained in:
远野千束 2024-08-05 07:23:04 +08:00
parent ab48396db9
commit c29a3fd6d4

View File

@ -61,6 +61,7 @@ class TempConfig(LiteModel):
data: dict = {} data: dict = {}
def auto_migrate(): def auto_migrate():
user_db.auto_migrate(User()) user_db.auto_migrate(User())
group_db.auto_migrate(Group()) group_db.auto_migrate(Group())