drop table enapo_pre_metadata_history;
ALTER TABLE enapo_measurements RENAME COLUMN id TO eic;
ALTER TABLE enapo_measurements DROP COLUMN id_type;