From 50f9b062456bd595d4fee86e7c90e0cac8904960 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 07 十一月 2024 18:22:48 +0800 Subject: [PATCH] 用户组接口 --- 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