Merge branch 'feat/improve-agent-prompt'
This commit is contained in:
@@ -30,6 +30,11 @@ class User(Base):
|
||||
subscription_expires_at = Column(DateTime(timezone=True), nullable=True) # 订阅到期时间
|
||||
created_at = Column(DateTime(timezone=True), default=utc_now)
|
||||
|
||||
birth_year = Column(Integer, nullable=True)
|
||||
birth_place = Column(String, nullable=True)
|
||||
grew_up_place = Column(String, nullable=True)
|
||||
occupation = Column(String, nullable=True)
|
||||
|
||||
# Relationships
|
||||
conversations = relationship("Conversation", back_populates="user")
|
||||
chapters = relationship("Chapter", back_populates="user")
|
||||
|
||||
Reference in New Issue
Block a user