-- disable the triggers
ALTER TABLE dsm_datasources DISABLE TRIGGER ALL;
ALTER TABLE projectpids DISABLE TRIGGER ALL;
ALTER TABLE project_subject DISABLE TRIGGER ALL;
ALTER TABLE fundingpaths DISABLE TRIGGER ALL;
ALTER TABLE project_fundingpath DISABLE TRIGGER ALL;
ALTER TABLE project_organization DISABLE TRIGGER ALL;
ALTER TABLE dsm_organizations DISABLE TRIGGER ALL;
ALTER TABLE dsm_organizationpids DISABLE TRIGGER ALL;
ALTER TABLE dsm_datasource_organization DISABLE TRIGGER ALL;
ALTER TABLE projects DISABLE TRIGGER ALL;

-- enable the triggers
ALTER TABLE dsm_datasources ENABLE TRIGGER ALL;
ALTER TABLE projectpids ENABLE TRIGGER ALL;
ALTER TABLE project_subject ENABLE TRIGGER ALL;
ALTER TABLE fundingpaths ENABLE TRIGGER ALL;
ALTER TABLE project_fundingpath ENABLE TRIGGER ALL;
ALTER TABLE project_organization ENABLE TRIGGER ALL;
ALTER TABLE dsm_organizations ENABLE TRIGGER ALL;
ALTER TABLE dsm_organizationpids ENABLE TRIGGER ALL;
ALTER TABLE dsm_datasource_organization ENABLE TRIGGER ALL;
ALTER TABLE projects ENABLE TRIGGER ALL;