All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wn.sqltemplates.mysql.index.lexrelations-index.sql Maven / Gradle / Ivy

The newest version!
ALTER TABLE ${lexrelations.table} ADD CONSTRAINT `pk_@{lexrelations.table}` PRIMARY KEY                                      (${lexrelations.synset1id},${lexrelations.lu1id},${lexrelations.lu2id},${lexrelations.synset2id},${lexrelations.relationid});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.relationid}`                        (${lexrelations.relationid});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.synset1id}`                         (${lexrelations.synset1id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.lu1id}`                             (${lexrelations.lu1id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.word1id}`                           (${lexrelations.word1id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.synset2id}`                         (${lexrelations.synset2id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.lu2id}`                             (${lexrelations.lu2id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.word2id}`                           (${lexrelations.word2id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.word1id}_@{lexrelations.synset1id}` (${lexrelations.word1id},${lexrelations.synset1id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.lu1id}_@{lexrelations.synset1id}`   (${lexrelations.lu1id},${lexrelations.synset1id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.word2id}_@{lexrelations.synset2id}` (${lexrelations.word2id},${lexrelations.synset2id});
ALTER TABLE ${lexrelations.table} ADD KEY        `k_@{lexrelations.table}_@{lexrelations.lu2id}_@{lexrelations.synset2id}`   (${lexrelations.lu2id},${lexrelations.synset2id});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy