Commit 84e75fc4 authored by Jérome Perrin's avatar Jérome Perrin

remove useless index

update with:
ALTER TABLE `inventory_stock` DROP INDEX `resource_uid`; -- exists in resource_node_uid
ALTER TABLE `stock` DROP INDEX `resource_uid`; -- exists in resource_node_uid
parent 93d86daa
......@@ -48,7 +48,6 @@
KEY `payment_uid` (`payment_uid`),\n
KEY `function_uid` (`function_uid`),\n
KEY `project_uid` (`project_uid`),\n
KEY `resource_uid` (`resource_uid`),\n
KEY `simulation_state` (`simulation_state`),\n
KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n
......
......@@ -85,7 +85,6 @@ CREATE TABLE `stock` (\n
KEY `payment_uid` (`payment_uid`),\n
KEY `function_uid` (`function_uid`),\n
KEY `project_uid` (`project_uid`),\n
KEY `resource_uid` (`resource_uid`),\n
KEY `simulation_state` (`simulation_state`),\n
KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n
......
229
\ No newline at end of file
230
\ 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