Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: set is_multimodal db define default = false (#29362)

wangxiaolei4a88c8fd1932
diff --git a/api/models/dataset.py b/api/models/dataset.py
index 5bbf44050c9..ba2eaf6749f 100644
--- a/api/models/dataset.py
+++ b/api/models/dataset.py
@@ -78,7 +78,7 @@ class Dataset(Base):
pipeline_id = mapped_column(StringUUID, nullable=True)
chunk_structure = mapped_column(sa.String(255), nullable=True)
enable_api = mapped_column(sa.Boolean, nullable=False, server_default=sa.text("true"))
- is_multimodal = mapped_column(sa.Boolean, nullable=False, server_default=db.text("false"))
+ is_multimodal = mapped_column(sa.Boolean, default=False, nullable=False, server_default=db.text("false"))
@property
def total_documents(self):