ALTER TABLE task_table ADD COLUMN IF NOT EXISTS run_id_required BOOLEAN NOT NULL DEFAULT FALSE;

ALTER TABLE qna_table ADD COLUMN IF NOT EXISTS run_id VARCHAR;

CREATE INDEX IF NOT EXISTS ix_qna_task_id_run_id ON qna_table (task_id, run_id);
