Commit 8ad45c81 authored by Jérome Perrin's avatar Jérome Perrin

include portal_type in section_uid index in stock table

To update:
ALTER TABLE `stock` DROP INDEX section_uid, ADD INDEX `section_uid_portal_type` (`section_uid`, `portal_type`)
parent 7f5d31eb
......@@ -78,7 +78,7 @@ CREATE TABLE `stock` (\n
`sub_variation_text` VARCHAR(255),\n
PRIMARY KEY (`uid`, `order_id`),\n
KEY `quantity` (`quantity`),\n
KEY `section_uid` (`section_uid`),\n
KEY `section_uid_portal_type` (`section_uid`, `portal_type`),\n
KEY `mirror_section_uid` (`mirror_section_uid`),\n
KEY `mirror_node_uid` (`mirror_node_uid`),\n
KEY `node_uid` (`node_uid`),\n
......
231
\ No newline at end of file
232
\ 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