Commit 5cbbfe7a authored by Vincent Pelletier's avatar Vincent Pelletier

Add index for "portal_type=... and reference=..." queries.

Those queries are very common (user lookup in acl_users, for example).
parent f62645b2
......@@ -106,7 +106,7 @@ CREATE TABLE `catalog` (\n
KEY `Title` (`title`),\n
KEY `Reference` (`reference`),\n
KEY `relative_url` (`relative_url`),\n
KEY `Portal Type` (`portal_type`),\n
KEY `Portal Type` (`portal_type`, `reference`),\n
KEY `opportunity_state` (`opportunity_state`),\n
KEY `validation_state_portal_type` (`validation_state`, `portal_type`),\n
KEY `simulation_state_portal_type` (`simulation_state`, `portal_type`),\n
......
235
\ No newline at end of file
236
\ 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