-- disable the triggers
ALTER TABLE 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 organizations DISABLE TRIGGER ALL;
ALTER TABLE organizationpids DISABLE TRIGGER ALL;
ALTER TABLE datasource_organization DISABLE TRIGGER ALL;
ALTER TABLE projects DISABLE TRIGGER ALL;

-- enable the triggers
ALTER TABLE 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 organizations ENABLE TRIGGER ALL;
ALTER TABLE organizationpids ENABLE TRIGGER ALL;
ALTER TABLE datasource_organization ENABLE TRIGGER ALL;
ALTER TABLE projects ENABLE TRIGGER ALL;
