ALTER TABLE qna_table ADD COLUMN IF NOT EXISTS miner_attributes_json JSONB;

CREATE INDEX IF NOT EXISTS ix_qna_miner_task_id ON qna_table (task_id, (miner_attributes_json -> 'miner_task_id'));
