rdev/internal/db/migrations/025_citadel_tenant_id.sql
jordan a8c8a0a14d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: add GCS-based persistent media storage, AI generation pipeline, and composable skeleton packages
Adds complete media storage pipeline with GCS presigned uploads, AI image/video/text generation
via queue-based workers, realtime SSE event streaming, and comprehensive skeleton packages
(storage, mediagen, textgen, generation, realtime, persona, routing, ai-client). Includes
security fixes for media delete authorization, nil pointer guards in handlers, video persistence
via download-then-upload, consistent signed URLs, and Image→ImageIcon rename to avoid DOM collision.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 21:29:09 -07:00

9 lines
420 B
SQL

-- Add citadel_tenant_id to projects for log environment routing.
-- Each project gets its own Citadel environment, and the tenant_id
-- is used by the agent DaemonSet to route container logs correctly.
ALTER TABLE projects ADD COLUMN IF NOT EXISTS
citadel_tenant_id VARCHAR(64);
COMMENT ON COLUMN projects.citadel_tenant_id IS 'Citadel environment tenant ID for log routing (auto-provisioned on project create)';