end
execute "ALTER TABLE axioms ADD FOREIGN KEY (id, ontology_id) REFERENCES axioms_entities (axiom_id, ontology_id) ON DELETE CASCADE"
execute "ALTER TABLE entities ADD FOREIGN KEY (id, ontology_id) REFERENCES axioms_entities (entity_id, ontology_id) ON DELETE CASCADE"
end
end