UPDATE service.export_task SET subset = 'masstransit' WHERE subset = 'masstransit2';

ALTER TYPE service.export_subset_type RENAME TO export_subset_type_old;

CREATE TYPE service.export_subset_type AS ENUM ('domain', 'service', 'masstransit', 'mrc');

ALTER TABLE service.export_task ALTER COLUMN subset DROP DEFAULT;

ALTER TABLE service.export_task
    ALTER COLUMN subset
    TYPE service.export_subset_type
    USING subset::text::service.export_subset_type;

ALTER TABLE service.export_task ALTER COLUMN subset SET DEFAULT 'service';

DROP TYPE service.export_subset_type_old;

