-- Add batch_id to sessions to support multiple sessions per message
ALTER TABLE sessions ADD COLUMN batch_id UUID NOT NULL DEFAULT gen_random_uuid();
CREATE INDEX ix_sessions_batch ON sessions (batch_id);
