Files
Chronos/src/Titano.Data/Migrations/postgres/0003_server_uploads.sql
T
Claude d09b5a5cfb fix(data): name the right mirror file in the 0003 migration headers
Both 0003_server_uploads.sql files still pointed at the 0005 names they had before
the migrations were renumbered without gaps. Comment-only: migrations are keyed by
version, not by content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 09:58:14 +00:00

10 lines
450 B
SQL

-- Titano Server additions (PostgreSQL): automatic grouping key of frame uploads, render-result uploads of
-- render-node jobs, and the sign-in log lookup. Mirrors sqlite/0003_server_uploads.sql.
ALTER TABLE uploads ADD COLUMN session_key text;
ALTER TABLE uploads ADD COLUMN job_id uuid;
ALTER TABLE uploads ADD COLUMN render_json jsonb;
CREATE INDEX ix_uploads_job ON uploads (job_id);
CREATE INDEX ix_audit_log_action ON audit_log (action, at);