Commit 7f5d31eb authored by Jérome Perrin's avatar Jérome Perrin

Use better index on translation table

Update with:
ALTER TABLE `translation` DROP INDEX `portal_type`, ADD INDEX `type_translated_message` (`portal_type`,`translated_message`);
parent 84e75fc4
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
translated_message VARCHAR(255),\n translated_message VARCHAR(255),\n
KEY `message` (`translated_message`),\n KEY `message` (`translated_message`),\n
KEY `original_message` (`original_message`),\n KEY `original_message` (`original_message`),\n
KEY `portal_type` (`portal_type`)\n KEY `type_translated_message` (`portal_type`,`translated_message`)\n
) ENGINE=InnoDB;\n ) ENGINE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
......
230 231
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment