
select pg_catalog.setval('cmn_message_instance_metadata_id_seq', 1, true);
DELETE FROM cmn_transaction_instance;
select pg_catalog.setval('cmn_transaction_instance_id_seq', 1, true);
DELETE FROM cmn_message_instance;
select pg_catalog.setval('cmn_message_instance_id_seq', 1, true);

delete from sys_conf_type_usages where system_configuration_id in (select id from system_configuration where name not like 'Gazelle%');
delete from system_configuration where name not like 'Gazelle%';

delete from cmn_validator_usage;
select pg_catalog.setval('cmn_validator_usage_id_seq', 1, true);

