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

12
setup/update/2.0.1.sql Normal file
View File

@@ -0,0 +1,12 @@
# This is a fix for InnoDB in MySQL >= 4.1.x
# It "suspends judgement" for fkey relationships until are tables are set.
SET FOREIGN_KEY_CHECKS = 0;
UPDATE `config` SET `value`='2.0.1' WHERE `name`='thelia_version';
UPDATE `config` SET `value`='' WHERE `name`='thelia_extra_version';
ALTER TABLE `module` ADD INDEX `idx_module_position` (`position`);
SET FOREIGN_KEY_CHECKS = 1;