ALTER TABLE registry_request
    RENAME COLUMN person_history_status TO history_status;

ALTER TABLE registry_request
    DROP COLUMN IF EXISTS subpoena_history_status;

ALTER TABLE registry_request
    RENAME COLUMN person_history_content TO history_content;

ALTER TABLE registry_request
    DROP COLUMN IF EXISTS subpoena_history_content;

ALTER TABLE registry_request
    RENAME COLUMN person_history_status_stamp TO history_status_stamp;

ALTER TABLE registry_request
    DROP COLUMN IF EXISTS subpoena_history_status_stamp;