This commit is contained in:
hackrobot
2024-07-17 22:22:27 +08:00
parent 36091e7796
commit ecf9b300d1
8 changed files with 23 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
from sqlalchemy import Column, Integer, String
from sqlalchemy import Boolean, Column, Integer, String
from app.database import Base
class User(Base):
@@ -12,3 +12,6 @@ class User(Base):
gender = Column(String)
friendaddtime = Column(String)
openid = Column(String, index=True)
ebook = Column(Boolean, default=False) # 新增电子书字段
activity_status = Column(String, default="0") # 新增活动报名字段
vip_member = Column(Boolean, default=False) # 新增VIP会员字段