-- Migration: 077_nextcloud_cache -- Created: 2026-02-01 CREATE TABLE IF NOT EXISTS nextcloud_cache ( cache_key TEXT PRIMARY KEY, payload JSONB NOT NULL, expires_at TIMESTAMP NOT NULL, created_at TIMESTAMP NOT NULL DEFAULT NOW() ); CREATE INDEX IF NOT EXISTS idx_nextcloud_cache_expires ON nextcloud_cache(expires_at);