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
10 lines
450 B
SQL
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);
|