Load modules by position

This commit is contained in:
Jérôme Billiras
2014-04-23 16:33:01 +02:00
parent 292a2c7a50
commit 5197afb87d
4 changed files with 18 additions and 1 deletions

View File

@@ -866,7 +866,8 @@ CREATE TABLE `module`
`created_at` DATETIME,
`updated_at` DATETIME,
PRIMARY KEY (`id`),
UNIQUE INDEX `code_UNIQUE` (`code`)
UNIQUE INDEX `code_UNIQUE` (`code`),
INDEX `idx_module_position` (`position`)
) ENGINE=InnoDB CHARACTER SET='utf8';
-- ---------------------------------------------------------------------