-- Zuletzt bekannte Inhalte synchronisierter Dateien (Quest-Konfiguration, Teams) und Fehlerprotokoll CREATE TABLE file_cache ( path text PRIMARY KEY, sha256 text NOT NULL, content text NOT NULL, updated_at timestamptz NOT NULL DEFAULT now() ); CREATE TABLE app_errors ( id bigserial PRIMARY KEY, at timestamptz NOT NULL DEFAULT now(), source text NOT NULL, message text NOT NULL ); CREATE INDEX app_errors_at ON app_errors (at DESC);