 --restore concept_manual table (run it only if something went wrong)
 /*TRUNCATE TABLE dev_cpt4.concept_manual;
 INSERT INTO dev_cpt4.concept_manual
-SELECT * FROM dev_cpt4.concept_manual_backup_2022_08_12;*/
+SELECT * FROM dev_cpt4.concept_manual_backup_YYYY_MM_DD;*/
 
 DO
 $body$


    END
$body$;

-- 2. insert new concepts into concept_manual table
create table cm_input (concept_name text,domain_id varchar(50), vocabulary_id varchar(50),

--restore concept_relationship_manual table (run it only if something went wrong)
/*TRUNCATE TABLE dev_cpt4.concept_relationship_manual;
INSERT INTO dev_cpt4.concept_relationship_manual
SELECT * FROM dev_cpt4.concept_relationship_manual_backup_YYYY_MM_DD;*/

DO
$body$
