mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-17 18:35:19 +02:00
add is_public to prompts model, schema, and migration
This commit is contained in:
parent
3363c71921
commit
f14f09cbe6
3 changed files with 32 additions and 0 deletions
|
|
@ -1799,6 +1799,7 @@ class Prompt(BaseModel, TimestampMixin):
|
|||
prompt = Column(Text, nullable=False)
|
||||
mode = Column(SQLAlchemyEnum(PromptMode), nullable=False)
|
||||
icon = Column(String(50), nullable=True)
|
||||
is_public = Column(Boolean, nullable=False, default=False)
|
||||
|
||||
user = relationship("User")
|
||||
search_space = relationship("SearchSpace")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue