-- +goose Up -- A conversation that has ingested untrusted content is tainted for the rest -- of its life: every later turn, including one a restarted process resumes, -- tightens controls. The flag is only ever set, never cleared. ALTER TABLE chat.sessions ADD COLUMN tainted boolean NOT NULL DEFAULT false; -- +goose Down ALTER TABLE chat.sessions DROP COLUMN tainted;