fix sign_in bug

This commit is contained in:
yajiwa 2023-03-02 11:29:54 +08:00
parent edc68921c9
commit 6af5e42bf0

View File

@ -8,7 +8,6 @@ from .goods_info import GoodsInfo
class BagUser(Model):
id = fields.IntField(pk=True, generated=True, auto_increment=True)
"""自增id"""
user_qq = fields.BigIntField()
@ -162,3 +161,8 @@ class BagUser(Model):
await user.save(update_fields=["property"])
return True
return False
@classmethod
async def _run_script(cls):
await cls.raw("ALTER TABLE sign_group_users DROP props;")
"""删除 props 字段"""