feat: 支持研究素材删除并统一 Semi 表格

This commit is contained in:
yuxuanhui
2026-09-11 23:21:08 +08:00
parent f29063c9a2
commit 8eec12f0e0
26 changed files with 1008 additions and 562 deletions
@@ -0,0 +1,20 @@
"""Hide deleted research experiments while preserving candidate and source history."""
import sqlalchemy as sa
from alembic import op
revision = "0014"
down_revision = "0013"
branch_labels = None
depends_on = None
def upgrade():
op.add_column(
"research_experiments",
sa.Column("archived", sa.Boolean(), nullable=False, server_default=sa.false()),
)
def downgrade():
op.drop_column("research_experiments", "archived")