Files
xinmi/migrations/versioned/000216_memory_session_checkpoints.up.sql
T

5 lines
261 B
SQL
Raw Normal View History

-- Existing subjects retain their global watermark. Per-session checkpoints are
-- seeded when a new completed turn registers; no historical data is replayed.
ALTER TABLE memory_subjects
ADD COLUMN IF NOT EXISTS session_cursors JSONB NOT NULL DEFAULT '{}';