...
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- DropIndex
|
||||
DROP INDEX "dictionary_phrases_standard_form_query_lang_definition_lang_key";
|
||||
|
||||
-- DropIndex
|
||||
DROP INDEX "dictionary_words_standard_form_query_lang_definition_lang_key";
|
||||
|
||||
-- RenameIndex
|
||||
ALTER INDEX "pairs_folder_id_locale1_locale2_text1_key" RENAME TO "pairs_folder_id_language1_language2_text1_key";
|
||||
@@ -136,7 +136,6 @@ model DictionaryWord {
|
||||
lookups DictionaryLookUp[]
|
||||
entries DictionaryWordEntry[]
|
||||
|
||||
@@unique([standardForm, queryLang, definitionLang])
|
||||
@@index([standardForm])
|
||||
@@index([queryLang, definitionLang])
|
||||
@@map("dictionary_words")
|
||||
@@ -153,7 +152,6 @@ model DictionaryPhrase {
|
||||
lookups DictionaryLookUp[]
|
||||
entries DictionaryPhraseEntry[]
|
||||
|
||||
@@unique([standardForm, queryLang, definitionLang])
|
||||
@@index([standardForm])
|
||||
@@index([queryLang, definitionLang])
|
||||
@@map("dictionary_phrases")
|
||||
|
||||
Reference in New Issue
Block a user