mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
fix sign_in bug
This commit is contained in:
parent
edc68921c9
commit
6af5e42bf0
@ -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 字段"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user