mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
commit
99263ab36a
@ -162,3 +162,8 @@ class BagUser(Model):
|
|||||||
await user.save(update_fields=["property"])
|
await user.save(update_fields=["property"])
|
||||||
return True
|
return True
|
||||||
return False
|
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