mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-08 20:25:19 +02:00
add public_share_token column to NewChatThread
This commit is contained in:
parent
df6943b248
commit
be33b8920e
1 changed files with 8 additions and 0 deletions
|
|
@ -358,6 +358,14 @@ class NewChatThread(BaseModel, TimestampMixin):
|
|||
index=True,
|
||||
)
|
||||
|
||||
# Public sharing - cryptographic token for public URL access
|
||||
public_share_token = Column(
|
||||
String(64),
|
||||
nullable=True,
|
||||
unique=True,
|
||||
index=True,
|
||||
)
|
||||
|
||||
# Relationships
|
||||
search_space = relationship("SearchSpace", back_populates="new_chat_threads")
|
||||
created_by = relationship("User", back_populates="new_chat_threads")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue