From c89fa72d0d2772e52812331024dedf3ded1b0639 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期一, 11 十一月 2024 17:32:43 +0800 Subject: [PATCH] fix bug --- app/models/user_model.py | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/app/models/user_model.py b/app/models/user_model.py index 3a07ae2..5d5d51b 100644 --- a/app/models/user_model.py +++ b/app/models/user_model.py @@ -7,4 +7,10 @@ __tablename__ = "user" id = Column(Integer, primary_key=True, index=True) username = Column(String(255), unique=True, index=True) - hashed_password = Column(String(255)) \ No newline at end of file + hashed_password = Column(String(255)) + compellation = Column(String(255), nullable=False, default="") + phone = Column(String(255), nullable=False, default="") + email = Column(String(255), nullable=False, default="") + description = Column(String(255), nullable=False, default="") + ragflow_id = Column(String(32), unique=True, index=True) + bisheng_id = Column(Integer, unique=True, index=True) \ No newline at end of file -- Gitblit v1.8.0