mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-20 23:21:06 +02:00
feat(db): add llm_setup_completed_at column to workspace
This commit is contained in:
parent
bd15ccdf7b
commit
007629443b
1 changed files with 5 additions and 0 deletions
|
|
@ -1732,6 +1732,11 @@ class Workspace(BaseModel, TimestampMixin):
|
|||
Integer, nullable=True, default=0, server_default="0"
|
||||
) # For vision/screenshot analysis, defaults to Auto mode
|
||||
|
||||
# First time this workspace went ready via its own model (source=="models").
|
||||
# NULL = never self-configured. Set once, never cleared; splits a needs_setup
|
||||
# verdict into first-run vs. recovery.
|
||||
llm_setup_completed_at = Column(TIMESTAMP(timezone=True), nullable=True)
|
||||
|
||||
user_id = Column(
|
||||
UUID(as_uuid=True), ForeignKey("user.id", ondelete="CASCADE"), nullable=False
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue