diff --git a/install/thelia.sql b/install/thelia.sql index d5b84f368..aa9a79d27 100644 --- a/install/thelia.sql +++ b/install/thelia.sql @@ -20,7 +20,9 @@ CREATE TABLE `category` `version` INTEGER DEFAULT 0, `version_created_at` DATETIME, `version_created_by` VARCHAR(100), - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + INDEX `idx_parent` (`parent`), + INDEX `idx_parent_position` (`parent`, `position`) ) ENGINE=InnoDB; -- --------------------------------------------------------------------- diff --git a/local/config/schema.xml b/local/config/schema.xml index 86a189bfe..a9013fa88 100644 --- a/local/config/schema.xml +++ b/local/config/schema.xml @@ -12,6 +12,13 @@ + + + + + + +