[-] INSTALLER : Fix bug #PSCFV-8813 1.4.7.0.sql not uptodate
This commit is contained in:
@@ -3,7 +3,7 @@ SET NAMES 'utf8';
|
||||
/* PHP:category_product_index_unique(); */;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `PREFIX_order_tax` (
|
||||
`id_order` int(11) NOT NULL,
|
||||
`id_order` int(10) NOT NULL,
|
||||
`tax_name` varchar(40) NOT NULL,
|
||||
`tax_rate` decimal(6,3) NOT NULL,
|
||||
`amount` decimal(20,6) NOT NULL
|
||||
@@ -12,10 +12,6 @@ CREATE TABLE IF NOT EXISTS `PREFIX_order_tax` (
|
||||
INSERT INTO `PREFIX_hook` (`name`, `title`, `description`, `position`, `live_edit`) VALUES
|
||||
('frontCanonicalRedirect', 'Front Canonical Redirect', 'Check for 404 errors before canonical redirects', 0, 0);
|
||||
|
||||
SET @id_hook = (SELECT `id_hook` FROM `PREFIX_hook` WHERE `name` = 'frontCanonicalRedirect');
|
||||
SET @position = (SELECT IFNULL(MAX(`position`),0)+1 FROM `PREFIX_hook_module` WHERE `id_hook` = @id_hook);
|
||||
SET @id_module = (SELECT `id_module` FROM `PREFIX_module` WHERE `name` = 'pagesnotfound');
|
||||
/* PHP:update_module_pagesnotfound(); */;
|
||||
|
||||
INSERT INTO `PREFIX_hook_module` (`id_hook`, `id_module`, `position`) VALUES (@id_hook, @id_module, @position);
|
||||
|
||||
ALTER TABLE `PREFIX_order_state` ADD COLUMN `deleted` tinyint(1) UNSIGNED NOT NULL default '0' AFTER `delivery`;
|
||||
ALTER TABLE `PREFIX_order_state` ADD COLUMN `deleted` tinyint(1) UNSIGNED NOT NULL default '0' AFTER `delivery`;
|
||||
Reference in New Issue
Block a user