feat: 支持研究素材删除并统一 Semi 表格
This commit is contained in:
@@ -13,6 +13,7 @@ from sqlalchemy import (
|
||||
String,
|
||||
Text,
|
||||
UniqueConstraint,
|
||||
false,
|
||||
)
|
||||
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
|
||||
|
||||
@@ -443,6 +444,7 @@ class ResearchExperiment(Base):
|
||||
id: Mapped[str] = mapped_column(String(36), primary_key=True)
|
||||
name: Mapped[str] = mapped_column(String(200))
|
||||
kind: Mapped[str] = mapped_column(String(30), index=True)
|
||||
archived: Mapped[bool] = mapped_column(Boolean, default=False, server_default=false())
|
||||
hypothesis: Mapped[str] = mapped_column(Text)
|
||||
inputs: Mapped[list] = mapped_column(JSON)
|
||||
parents: Mapped[list] = mapped_column(JSON)
|
||||
|
||||
Reference in New Issue
Block a user