diff --git a/misc-scripts/ontology/sql/patch_95_96_b.sql b/misc-scripts/ontology/sql/patch_95_96_b.sql index 6cc68e024a0e097ca435eba9449a2701584fc942..83b431bbefd4b7a8a0183c8268c3e522fcbc7b9b 100644 --- a/misc-scripts/ontology/sql/patch_95_96_b.sql +++ b/misc-scripts/ontology/sql/patch_95_96_b.sql @@ -35,7 +35,9 @@ ALTER TABLE `term` DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ALTER TABLE `synonym` DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -CREATE INDEX ix_closure_subparent_term_id USING BTREE ON closure (`subparent_term_id`); -CREATE INDEX ix_closure_ontology_id USING BTREE ON closure (`ontology_id`); - +CREATE INDEX ix_closure_subparent_term_id ON closure (`subparent_term_id`); +CREATE INDEX ix_closure_ontology_id ON closure (`ontology_id`); +CREATE INDEX `ix_relation_parent_term_id` ON relation (`parent_term_id`); +CREATE INDEX `ix_relation_relation_type_id` ON relation (`relation_type_id`); +CREATE INDEX `ix_relation_ontology_id` ON relation (`ontology_id`); \ No newline at end of file