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
447 B
SQL
10 lines
447 B
SQL
-- Titano Server additions (SQLite): automatic grouping key of frame uploads, render-result uploads of render-node
|
|
-- jobs, and the sign-in log lookup. Mirrors postgres/0003_server_uploads.sql.
|
|
|
|
ALTER TABLE uploads ADD COLUMN session_key TEXT;
|
|
ALTER TABLE uploads ADD COLUMN job_id TEXT;
|
|
ALTER TABLE uploads ADD COLUMN render_json TEXT;
|
|
CREATE INDEX ix_uploads_job ON uploads (job_id);
|
|
|
|
CREATE INDEX ix_audit_log_action ON audit_log (action, at);
|