-- Reflect change in 00004_add_timestamp_columns.sql
ALTER TABLE IF EXISTS qna_table RENAME COLUMN timestamp_ TO start_ts;
-- Reflect change in 00006_add_qna_version.sql
ALTER TABLE IF EXISTS qna_version_table RENAME COLUMN timestamp_ TO start_ts;
-- Reflect change in 00014_add_attr_json.sql
DROP INDEX IF EXISTS ix_qna_version_attr_json_task_id;
ALTER TABLE IF EXISTS qna_version_table DROP COLUMN IF EXISTS attributes_json;
ALTER TABLE IF EXISTS qna_table RENAME COLUMN attributes_json TO miner_attributes_json;
-- Reflect change in 00016_add_chum_uri.sql
ALTER TABLE IF EXISTS qna_version_table DROP COLUMN IF EXISTS chum_uri;
ALTER TABLE IF EXISTS qna_table RENAME COLUMN chum_uri TO chum_uri_path;
