summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--generator/schema.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/generator/schema.sql b/generator/schema.sql index 5b42d52..a49a853 100644 --- a/generator/schema.sql +++ b/generator/schema.sql
@@ -92,8 +92,8 @@ CREATE TABLE `words` (
92 `group_id` INTEGER 92 `group_id` INTEGER
93); 93);
94 94
95CREATE INDEX `notion_words` ON `words`(`notion_id`); 95CREATE INDEX `notions_lemmas` ON `words`(`notion_id`,`lemma_id`);
96CREATE INDEX `lemma_words` ON `words`(`lemma_id`); 96CREATE INDEX `lemmas_notions` ON `words`(`lemma_id`,`notion_id`);
97CREATE INDEX `group_words` ON `words`(`group_id`); 97CREATE INDEX `group_words` ON `words`(`group_id`);
98 98
99CREATE TABLE `antonymy` ( 99CREATE TABLE `antonymy` (
@@ -178,7 +178,7 @@ CREATE TABLE `pronunciations` (
178 `stress` VARCHAR(64) NOT NULL 178 `stress` VARCHAR(64) NOT NULL
179); 179);
180 180
181CREATE INDEX `rhymes_with` ON `pronunciations`(`rhyme`); 181CREATE INDEX `rhymes_with` ON `pronunciations`(`rhyme`,`prerhyme`);
182 182
183CREATE TABLE `forms_pronunciations` ( 183CREATE TABLE `forms_pronunciations` (
184 `form_id` INTEGER NOT NULL, 184 `form_id` INTEGER NOT NULL,