feat(zero): publish thread title, visibility, created_by columns

This commit is contained in:
Anish Sarkar 2026-07-16 18:09:50 +05:30
parent 0ca696f3fc
commit 2c4ebaeb7f
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,23 @@
"""publish thread metadata to zero_publication
Revision ID: 175
Revises: 174
"""
from collections.abc import Sequence
from alembic import op
from app.zero_publication import apply_publication
revision: str = "175"
down_revision: str | None = "174"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None
def upgrade() -> None:
apply_publication(op.get_bind())
def downgrade() -> None:
"""No-op. Historical publication shapes are immutable."""

View file

@ -60,6 +60,9 @@ AUTOMATION_COLS = [
NEW_CHAT_THREAD_COLS = [
"id",
"workspace_id",
"title",
"visibility",
"created_by_id",
]
# Enough to drive the lifecycle UI by push: status, the reviewable brief, and