Jump to content

(gelöst) Update 1.3.7 zu 1.5


Recommended Posts

Jeder Rat ist hier teuer. Am Besten ist du fertigst einen Clone von deinem Shop und sammelst an dem Clone deine eigenen Erfahrungen.

 

Die Aussagen hier sind so kontrovers von Ja, geht ohne Probleme, bis gecrashte Shops, so dass kein Rat möglich ist.

Ich bin eher der vorsichtige Typ und arbeite nach dem Motto: never change a running system, vor allem dann nicht, wenn mir der Upgrade nicht viel an Extras mehr bringt, die ich unbedingt benötige.

Auch empfehle ich ein manuelles update anstatt die Nutzung vom 1-Klick-Upgrade-Modul. Dieses arbeitez auch sehr unzuverlässig. Bei einem geht es ohne Probleme, beim anderen mit bis zum Crash während des Upgrades, weil die execution time nicht ausreicht und die Skripte abbrechen (meistens bei sehr große Shops mit ab 4.000 Artikeln).

 

Wie man ein Upgrade macht findest du hier: http://www.prestashop.com/forums/topic/234642-tutorial-shop-upgraden-manuell-oder-automatisch-ps-14-und-ps-15. Gilt auch für PS 1.3., wobei ich hier auf jeden Fall vorsichtshalber einen Zwischenschritt zu PS 1.4.10 einlegen würde und dann erst zu PS 1.5.

Link to comment
Share on other sites

So habe meine Erfahrungen Gesammelt zu 1.4 gibt es 39 Fehler und direkt zu 1.5 42 Fehler werde dann wohl einen neuen 1.5 aufstellen müssen und alle Kunden und Bestellungen mit Hilfe von php admin einpflegen müssen.

 

Gibt es da etwas zu beachten???

 

Würde es nicht gehen wenn ich alle SQL Dateien die im install Ordner liegen durchgehe???

Link to comment
Share on other sites

Bei Migration von Daten mittel SQL ist ein sehr gutes Know-How von beiden Systemen nötig, sowie auch das Know-How der Abhängigkeiten die Prestashop anlegt, wenn ein Produkt, Kunde, Bestellung, usw. angelegt wird im System.

 

Rate dir davon ab, dies selbst in die Hand zu nehmen, wenn du kein Profi in Datenbanken bist, oder die beiden Systeme nicht auswendig kennst. Hier kannst du vieles falsch machen und den Shop unbrauchbar.

 

Bediene dich eines Dienstes, damit bist du besser dran.

 

Cart2Cart z.B. Ich übernehme übrigens auch solche Aufträge (s. meine Signatur).

Link to comment
Share on other sites

Habe mir das ganze jetzt mal angeschaut die beste lösung ist wohl cart 2 cart habe verschiedene sprachen im shop und das gibt schon probleme beim updaten da ich damals sprachen gelöscht habe und wieder installiert habe.

Werde mich wohl dran machen einen 1.5 nach meinen wünschen zu bauen und dann alles cart2cart zu sync.

Link to comment
Share on other sites

Ist es möglich nur die Kunden deren Passwörter und Adressen in den neuen Shop einzupflegen??

 

Ich habe mir die Tabellen in der Datenbank angesehen aber leider nicht viel Ahnung davon für mich sieht alles gleich aus.

 

Ich würde von 1.3.7 folgende in 1.5 importieren

 

 

ps_address

ps_access

ps_customer

ps_customer_group

 

Habe ich etwas vergessen??? Können die Kunden danach ihr altes Password benutzen??

 

Danke für die Hilfe

Link to comment
Share on other sites

Mach doch nur ein upgrade von der Datenbank, wie ich bereits im Link weiter oben ergänzt habe.

http://www.prestasho...s-14-und-ps-15.

 

So ein Upgrade funktioniert sicher, aber bitte upgrade auf PS 1.5.3.1. und nicht auf 1.5.4.1. Bei dieser Version gibt es massive Probleme mit zu langen Datenbankabfragen. Deine erste Seite lädt dann extrem langsam.

 

Von eigenen Versuchen Daten zu migrieren von einer Datenbank zur anderen rate ich dir ab. Prestashop schreibt sehr viele Abhängigkeiten. Eine Datenmigration kann wirklich nur ein Experte durchführen, der beide Versionen in- und auswendig kennt.

Link to comment
Share on other sites

Jetzt bin ich fast fertig mit dem neuen shop template usw produkte importiere ich selbst nur die kunden sind mir wichtig cart2cart nimmt trotzdem 49$

Ein upgrade werde ich wohl nicht machen da ich ja es schon versucht hatte und es nur probleme gab.

Ich brauche den fertigen shop auch noch für eine andere domain.

Link to comment
Share on other sites

OK, und wo liegt dann das Problem ? Du bleibst jetzt bei PS 1.3 oder bist mit PS 1.5. fast fertig ?

 

Gerade bei den Kunden wo sowohl Bestellungen, als auch Artikel, Zahlungskonditionen und das ganze System mithängt...

Du solltest es doch mit dem Upgrade von nur Datenbank versuchen. Clone einfach die Datenbank wie im Tutorial erklärt, kopiere die /config/settings.inc.php und den Ordner /mg in einem Unterordner auf deinem FTP z.B. /shopneu. Ändere den Datenbanknamen in den Datenbanknamen des clones in der settings.inc.php ab und auch die base_URI auf /shopneu/. Lade dann alle Dateien von PS 1.5.3.1. in diesem Unterordner /shopneu/ ABER BITTE OHNE den Ordner /img und starte den Installer wie dort angegeben. Du übernimmst damit alle Daten und upgradest deinen Shop sauber auf PS 1.5.3.1. in diesem Fall.

  • Like 1
Link to comment
Share on other sites

ich bin noch bei 1,3 aber baue gerade einen 1.5 zusammen und fast fertig.

 

Im 1.3 habe ich sprachen und länder gelöscht damals deshalb hatte ich auch solche probleme beim update so wie ich vorher schon geschrieben hatte.

 

Die bestellungen sind egal nur die kunden und passwörter sind wichtig.

 

Habe den shop gekauft und will mit eine frischen db anfangen bestellungen usw

Link to comment
Share on other sites

Im Back-Office nach dem ersten Aufruf kommt eine Meldung, dass alle Bilder neu generiert werden müssen. Hast du das schon getan ?

 

Die Tabs kannst du nur direkt löschen in der Datenbank ps_tab, ps_tab_lang. Eigentlich sollten diese Tabs auch garnicht mehr erscheien, wenn du die alten Module NICHT im Upgrade miteinbezogen hast, wie ich beschrieben habe.

Link to comment
Share on other sites

Ehrlich gesagt, weiß ich nicht wo unter 1.5. Prestashop diese Einstellung jetzt versteckt hat. Wenn ich nach der Logik gehe dann sollte das unter " Voreinstellung -> Bilder" stehen. Guckst du bitte dort einmal was für ein Wert unter "Artikel-Bilder" steht ?

Probier einmal den Wert auf default 8388608 zu erhöhen. Dieser Wert ist von einer Standardinstalltion ohne jeglicher Änderung auf meinem Testserver.

Link to comment
Share on other sites

Upload max_file_size lässt sich erhöhen ? Probier das Logo mit ROI (kostenlos im Netz) zu optimieren auf eine kleinere Größe. Welches Format hat das Logo ? Auf welche PS-Version hast du denn den Upgrade gemacht ?

Link to comment
Share on other sites

Das Logo heisst bei PS 1.5.3 aufwärts Logo-1.jpg. Ich hatte schon den Verdacht, dass du ein zu großes png zu laden versuchst. Dieses wird garnicht genommen (unbahängig ob da eine Fehlermeldung kommt oder nicht).

Ich habe mein png einfach direkt im Ordner /img ausgetauscht, somit ist es auch mit durchsichtigem Hintergrund.

Link to comment
Share on other sites

Um kurz noch etwas zum Upgrade zu sagen.

 

Ich habe keinen Zwischenschritt eingelegt direkt auf 1.5.4.1.

So wie es aussieht funktioniert alles bestens obwohl es Fehler gab.

Sind diese denn gravierend???

 

Hier mal die XML

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<action result="fail" error="34">
<request result="ok" sqlfile="1.4.0.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `bo_color` varchar(32) default NULL AFTER `stats_date_to`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `bo_theme` varchar(32) default NULL AFTER `bo_color`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `bo_uimode` ENUM('hover','click') default 'click' AFTER `bo_theme`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `id_lang` int(10) unsigned NOT NULL default 0 AFTER `id_profile`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cms` ADD `id_cms_category` int(10) unsigned NOT NULL default '0' AFTER `id_cms`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cms` ADD `position` int(10) unsigned NOT NULL default '0' AFTER `id_cms_category`
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cms_category` ( `id_cms_category` int(10) unsigned NOT NULL AUTO_INCREMENT, `id_parent` int(10) unsigned NOT NULL, `level_depth` tinyint(3) unsigned NOT NULL DEFAULT '0', `active` tinyint(1) unsigned NOT NULL DEFAULT '0', `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, `position` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id_cms_category`), KEY `category_parent` (`id_parent`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_cms_category' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cms_category_lang` ( `id_cms_category` int(10) unsigned NOT NULL, `id_lang` int(10) unsigned NOT NULL, `name` varchar(128) NOT NULL, `description` text, `link_rewrite` varchar(128) NOT NULL, `meta_title` varchar(128) DEFAULT NULL, `meta_keywords` varchar(255) DEFAULT NULL, `meta_description` varchar(255) DEFAULT NULL, UNIQUE KEY `category_lang_index` (`id_cms_category`,`id_lang`), KEY `category_name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_cms_category_lang' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cms_category_lang` VALUES(1, 1, 'Home', '', 'home', NULL, NULL, NULL)
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cms_category_lang` VALUES(1, 2, 'Accueil', '', 'home', NULL, NULL, NULL)
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[
Duplicate entry '1-2' for key 'category_lang_index'
]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cms_category_lang` VALUES(1, 3, 'Inicio', '', 'home', NULL, NULL, NULL)
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[
Duplicate entry '1-3' for key 'category_lang_index'
]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cms_category` VALUES(1, 0, 0, 1, NOW(), NOW(),0)
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate entry '1' for key 'PRIMARY' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_cms_category` SET `position` = 0 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_cms` SET `position` = 0 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_cms` SET `id_cms_category` = 0 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD `position` int(10) unsigned NOT NULL default '0' AFTER `date_upd`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_employee` SET `id_lang` = (SELECT `value` FROM `ps_configuration` WHERE `name` = "PS_LANG_DEFAULT")
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` ADD `note` text AFTER `secure_key`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_contact` ADD `customer_service` tinyint(1) NOT NULL DEFAULT 0 AFTER `email`
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_customer_thread` ( `id_customer_thread` int(11) unsigned NOT NULL auto_increment, `id_lang` int(10) unsigned NOT NULL, `id_contact` int(10) unsigned NOT NULL, `id_customer` int(10) unsigned default NULL, `id_order` int(10) unsigned default NULL, `id_product` int(10) unsi
]]>
<![CDATA[
gned default NULL, `status` enum('open','closed','pending1','pending2') NOT NULL default 'open', `email` varchar(128) NOT NULL, `token` varchar(12) default NULL, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_customer_thread`), KEY `id_customer_thread` (`id_customer_thread`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_customer_thread' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_customer_message` ( `id_customer_message` int(10) unsigned NOT NULL auto_increment, `id_customer_thread` int(11) default NULL, `id_employee` int(10) unsigned default NULL, `message` text NOT NULL, `file_name` varchar(18) DEFAULT NULL, `ip_address` int(11) default NULL, `user_agent` varchar(128) default NULL, `date_add` datetime NOT NULL, PRIMARY KEY (`id_customer_message`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_customer_message' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_payment_cc` ( `id_payment_cc` INT NOT NULL auto_increment, `id_order` INT UNSIGNED NULL, `id_currency` INT UNSIGNED NOT NULL, `amount` DECIMAL(10,2) NOT NULL, `transaction_id` VARCHAR(254) NULL, `card_number` VARCHAR(254) NULL, `card_brand` VARCHAR(254) NULL, `card_expiration` CHAR(7) NULL, `card_holder` VARCHAR(254) NULL, `date_add` DATETIME NOT NULL, PRIMARY KEY (`id_payment_cc`), KEY `id_order` (`id_order`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_payment_cc' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_specific_price` ( `id_specific_price` INT UNSIGNED NOT NULL AUTO_INCREMENT, `id_product` INT UNSIGNED NOT NULL, `id_shop` TINYINT UNSIGNED NOT NULL, `id_currency` INT UNSIGNED NOT NULL, `id_country` INT UNSIGNED NOT NULL, `id_group` INT UNSIGNED NOT NULL, `priority` SMALLINT UNSIGNED NOT NULL, `price` DECIMAL(20, 6) NOT NULL, `from_quantity` SMALLINT UNSIGNED NOT NULL, `reduction` DECIMAL(20, 6) NOT NULL, `reduction_type` ENUM('amount', 'percentage') NOT NULL, `from` DATETIME NOT NULL, `to` DATETIME NOT NULL, PRIMARY KEY(`id_specific_price`), KEY (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `from_quantity`, `from`, `to`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_specific_price' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_specific_price` (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `priority`, `price`, `from_quantity`, `reduction`, `reduction_type`, `from`, `to`) ( SELECT dq.`id_product`, 1, 1, 0, 1, 0, 0.00, dq.`quantity`, IF(dq.`id_discount_type` = 2, dq.`value`, dq.`value` / 100), IF (dq.`id_discount_type` = 2, 'amount', 'percentage'), '0000-00-00 00:00:00', '0000-00-00 00:00:00' FROM `ps_discount_quantity` dq INNER JOIN `ps_product` p ON (p.`id_product` = dq.`id_product`) )
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Unknown column 'priority' in 'field list' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1054 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_discount_quantity` ]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_specific_price` (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `priority`, `price`, `from_quantity`, `reduction`, `reduction_type`, `from`, `to`) ( SELECT p.`id_product`, 1, 0, 0, 0, 0, 0.00, 1, IF(p.`reduction_price` > 0, p.`reduction_price`
]]>
<![CDATA[
, p.`reduction_percent` / 100), IF(p.`reduction_price` > 0, 'amount', 'percentage'), IF (p.`reduction_from` = p.`reduction_to`, '0000-00-00 00:00:00', p.`reduction_from`), IF (p.`reduction_from` = p.`reduction_to`, '0000-00-00 00:00:00', p.`reduction_to`) FROM `ps_product` p WHERE p.`reduction_price` OR p.`reduction_percent` )
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Unknown column 'priority' in 'field list' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1054 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` DROP `reduction_price`, DROP `reduction_percent`, DROP `reduction_from`, DROP `reduction_to`
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_SPECIFIC_PRICE_PRIORITIES', 'id_shop;id_currency;id_country;id_group', NOW(), NOW()), ('PS_TAX_DISPLAY', 0, NOW(), NOW()), ('PS_SMARTY_FORCE_COMPILE', 1, NOW(), NOW()), ('PS_DISTANCE_UNIT', 'km', NOW(), NOW()), ('PS_STORES_DISPLAY_CMS', 0, NOW(), NOW()), ('PS_STORES_DISPLAY_FOOTER', 0, NOW(), NOW()), ('PS_STORES_SIMPLIFIED', 0, NOW(), NOW()), ('PS_STATSDATA_CUSTOMER_PAGESVIEWS', 1, NOW(), NOW()), ('PS_STATSDATA_PAGESVIEWS', 1, NOW(), NOW()), ('PS_STATSDATA_PLUGINS', 1, NOW(), NOW())
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[
Duplicate entry 'PS_STATSDATA_CUSTOMER_PAGESVIEWS' for key 'name'
]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_group_reduction` ( `id_group_reduction` MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT, `id_group` INT(10) UNSIGNED NOT NULL, `id_category` INT(10) UNSIGNED NOT NULL, `reduction` DECIMAL(4, 3) NOT NULL, PRIMARY KEY(`id_group_reduction`), UNIQUE KEY(`id_group`, `id_category`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_group_reduction' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_product_group_reduction_cache` ( `id_product` INT UNSIGNED NOT NULL, `id_group` INT UNSIGNED NOT NULL, `reduction` DECIMAL(4, 3) NOT NULL, PRIMARY KEY(`id_product`, `id_group`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[
Table 'ps_product_group_reduction_cache' already exists
]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_currency` ADD `iso_code_num` varchar(3) NOT NULL default '0' AFTER `iso_code`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_currency` SET iso_code_num = '978' WHERE iso_code = 'EUR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_currency` SET iso_code_num = '840' WHERE iso_code = 'USD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_currency` SET iso_code_num = '826' WHERE iso_code = 'GBP' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_country` ADD `call_prefix` int(10) NOT NULL default '0' AFTER `iso_code`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 49 WHERE `iso_code` = 'DE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 43 WHERE `iso_code` = 'AT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 32 WHERE `iso_code` = 'BE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 1 WHERE `iso_code` = 'CA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 86 WHERE `iso_code` = 'CN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 34 WHERE `iso_code` = 'ES' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 358 WHERE `iso_code` = 'FI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 33 WHERE `iso_code` = 'FR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 30 WHERE `iso_code` = 'GR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 39 WHERE `iso_code` = 'IT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 81 WHERE `iso_code` = 'JP' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 352 WHERE `iso_code` = 'LU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 31 WHERE `iso_code` = 'NL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 48 WHERE `iso_code` = 'PL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 351 WHERE `iso_code` = 'PT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 420 WHERE `iso_code` = 'CZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 44 WHERE `iso_code` = 'GB' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 46 WHERE `iso_code` = 'SE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 41 WHERE `iso_code` = 'CH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 45 WHERE `iso_code` = 'DK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 1 WHERE `iso_code` = 'US' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 852 WHERE `iso_code` = 'HK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 47 WHERE `iso_code` = 'NO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 61 WHERE `iso_code` = 'AU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 65 WHERE `iso_code` = 'SG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 353 WHERE `iso_code` = 'IE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 64 WHERE `iso_code` = 'NZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 82 WHERE `iso_code` = 'KR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 972 WHERE `iso_code` = 'IL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 27 WHERE `iso_code` = 'ZA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 234 WHERE `iso_code` = 'NG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 225 WHERE `iso_code` = 'CI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 228 WHERE `iso_code` = 'TG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 591 WHERE `iso_code` = 'BO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 230 WHERE `iso_code` = 'MU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 40 WHERE `iso_code` = 'RO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 421 WHERE `iso_code` = 'SK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 213 WHERE `iso_code` = 'DZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 376 WHERE `iso_code` = 'AD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 244 WHERE `iso_code` = 'AO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 54 WHERE `iso_code` = 'AR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 374 WHERE `iso_code` = 'AM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 297 WHERE `iso_code` = 'AW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 994 WHERE `iso_code` = 'AZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 973 WHERE `iso_code` = 'BH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 880 WHERE `iso_code` = 'BD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 501 WHERE `iso_code` = 'BZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 229 WHERE `iso_code` = 'BJ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 975 WHERE `iso_code` = 'BT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 267 WHERE `iso_code` = 'BW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 55 WHERE `iso_code` = 'BR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 673 WHERE `iso_code` = 'BN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 226 WHERE `iso_code` = 'BF' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 95 WHERE `iso_code` = 'MM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 257 WHERE `iso_code` = 'BI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 855 WHERE `iso_code` = 'KH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 237 WHERE `iso_code` = 'CM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 238 WHERE `iso_code` = 'CV' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 236 WHERE `iso_code` = 'CF' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 235 WHERE `iso_code` = 'TD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 56 WHERE `iso_code` = 'CL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 57 WHERE `iso_code` = 'CO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 269 WHERE `iso_code` = 'KM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 242 WHERE `iso_code` = 'CD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 243 WHERE `iso_code` = 'CG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 506 WHERE `iso_code` = 'CR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 385 WHERE `iso_code` = 'HR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 53 WHERE `iso_code` = 'CU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 357 WHERE `iso_code` = 'CY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 253 WHERE `iso_code` = 'DJ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 670 WHERE `iso_code` = 'TL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 593 WHERE `iso_code` = 'EC' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 20 WHERE `iso_code` = 'EG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 503 WHERE `iso_code` = 'SV' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 240 WHERE `iso_code` = 'GQ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 291 WHERE `iso_code` = 'ER' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 372 WHERE `iso_code` = 'EE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 251 WHERE `iso_code` = 'ET' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 298 WHERE `iso_code` = 'FO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 679 WHERE `iso_code` = 'FJ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 241 WHERE `iso_code` = 'GA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 220 WHERE `iso_code` = 'GM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 995 WHERE `iso_code` = 'GE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 233 WHERE `iso_code` = 'GH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 299 WHERE `iso_code` = 'GL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 350 WHERE `iso_code` = 'GI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 590 WHERE `iso_code` = 'GP' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 502 WHERE `iso_code` = 'GT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 224 WHERE `iso_code` = 'GN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 245 WHERE `iso_code` = 'GW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 592 WHERE `iso_code` = 'GY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 509 WHERE `iso_code` = 'HT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 379 WHERE `iso_code` = 'VA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 504 WHERE `iso_code` = 'HN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 354 WHERE `iso_code` = 'IS' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 91 WHERE `iso_code` = 'IN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 62 WHERE `iso_code` = 'ID' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 98 WHERE `iso_code` = 'IR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 964 WHERE `iso_code` = 'IQ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 962 WHERE `iso_code` = 'JO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 7 WHERE `iso_code` = 'KZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 254 WHERE `iso_code` = 'KE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 686 WHERE `iso_code` = 'KI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 850 WHERE `iso_code` = 'KP' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 965 WHERE `iso_code` = 'KW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 996 WHERE `iso_code` = 'KG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 856 WHERE `iso_code` = 'LA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 371 WHERE `iso_code` = 'LV' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 961 WHERE `iso_code` = 'LB' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 266 WHERE `iso_code` = 'LS' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 231 WHERE `iso_code` = 'LR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 218 WHERE `iso_code` = 'LY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 423 WHERE `iso_code` = 'LI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 370 WHERE `iso_code` = 'LT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 853 WHERE `iso_code` = 'MO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 389 WHERE `iso_code` = 'MK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 261 WHERE `iso_code` = 'MG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 265 WHERE `iso_code` = 'MW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 60 WHERE `iso_code` = 'MY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 960 WHERE `iso_code` = 'MV' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 223 WHERE `iso_code` = 'ML' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 356 WHERE `iso_code` = 'MT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 692 WHERE `iso_code` = 'MH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 596 WHERE `iso_code` = 'MQ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 222 WHERE `iso_code` = 'MR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 36 WHERE `iso_code` = 'HU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 262 WHERE `iso_code` = 'YT' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 52 WHERE `iso_code` = 'MX' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 691 WHERE `iso_code` = 'FM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 373 WHERE `iso_code` = 'MD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 377 WHERE `iso_code` = 'MC' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 976 WHERE `iso_code` = 'MN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 382 WHERE `iso_code` = 'ME' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 212 WHERE `iso_code` = 'MA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 258 WHERE `iso_code` = 'MZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 264 WHERE `iso_code` = 'NA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 674 WHERE `iso_code` = 'NR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 977 WHERE `iso_code` = 'NP' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 599 WHERE `iso_code` = 'AN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 687 WHERE `iso_code` = 'NC' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 505 WHERE `iso_code` = 'NI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 227 WHERE `iso_code` = 'NE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 683 WHERE `iso_code` = 'NU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 968 WHERE `iso_code` = 'OM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 92 WHERE `iso_code` = 'PK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 680 WHERE `iso_code` = 'PW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 507 WHERE `iso_code` = 'PA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 675 WHERE `iso_code` = 'PG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 595 WHERE `iso_code` = 'PY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 51 WHERE `iso_code` = 'PE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 63 WHERE `iso_code` = 'PH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 974 WHERE `iso_code` = 'QA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 262 WHERE `iso_code` = 'RE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 7 WHERE `iso_code` = 'RU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 250 WHERE `iso_code` = 'RW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 508 WHERE `iso_code` = 'PM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 685 WHERE `iso_code` = 'WS' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 378 WHERE `iso_code` = 'SM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 239 WHERE `iso_code` = 'ST' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 966 WHERE `iso_code` = 'SA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 221 WHERE `iso_code` = 'SN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 381 WHERE `iso_code` = 'RS' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 248 WHERE `iso_code` = 'SC' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 232 WHERE `iso_code` = 'SL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 386 WHERE `iso_code` = 'SI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 677 WHERE `iso_code` = 'SB' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 252 WHERE `iso_code` = 'SO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 94 WHERE `iso_code` = 'LK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 249 WHERE `iso_code` = 'SD' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 597 WHERE `iso_code` = 'SR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 268 WHERE `iso_code` = 'SZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 963 WHERE `iso_code` = 'SY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 886 WHERE `iso_code` = 'TW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 992 WHERE `iso_code` = 'TJ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 255 WHERE `iso_code` = 'TZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 66 WHERE `iso_code` = 'TH' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 690 WHERE `iso_code` = 'TK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 676 WHERE `iso_code` = 'TO' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 216 WHERE `iso_code` = 'TN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 90 WHERE `iso_code` = 'TR' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 993 WHERE `iso_code` = 'TM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 688 WHERE `iso_code` = 'TV' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 256 WHERE `iso_code` = 'UG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 380 WHERE `iso_code` = 'UA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 971 WHERE `iso_code` = 'AE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 598 WHERE `iso_code` = 'UY' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 998 WHERE `iso_code` = 'UZ' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 678 WHERE `iso_code` = 'VU' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 58 WHERE `iso_code` = 'VE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 84 WHERE `iso_code` = 'VN' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 681 WHERE `iso_code` = 'WF' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 967 WHERE `iso_code` = 'YE' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 260 WHERE `iso_code` = 'ZM' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 263 WHERE `iso_code` = 'ZW' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 355 WHERE `iso_code` = 'AL' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 93 WHERE `iso_code` = 'AF' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 387 WHERE `iso_code` = 'BA' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 359 WHERE `iso_code` = 'BG' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 682 WHERE `iso_code` = 'CK' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 594 WHERE `iso_code` = 'GF' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `call_prefix` = 689 WHERE `iso_code` = 'PF' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_CONDITIONS_CMS_ID', IFNULL((SELECT `id_cms` FROM `ps_cms` WHERE `id_cms` = 3), 0), NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TEMPORARY TABLE `ps_configuration_tmp` ( `value` text )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration_tmp` (SELECT value FROM (SELECT `value` FROM `ps_configuration` WHERE `name` = 'ps_CONDITIONS_CMS_ID') AS tmp)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET `value` = IF((SELECT value FROM ps_configuration_tmp), 1, 0) WHERE `name` = 'ps_CONDITIONS'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ DROP TABLE ps_configuration_tmp ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_CIPHER_ALGORITHM', 0, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_ORDER_PROCESS_TYPE', 0, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `minimal_quantity` INT NOT NULL DEFAULT '1' AFTER `quantity`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `cache_default_attribute` int(10) unsigned default NULL AFTER `indexed`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `cache_has_attachments` TINYINT(1) NOT NULL default '0' AFTER `indexed`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `cache_is_pack` TINYINT(1) NOT NULL default '0' AFTER `indexed`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `available_for_order` TINYINT(1) NOT NULL DEFAULT '1' AFTER `active`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `show_price` TINYINT(1) NOT NULL DEFAULT '1' AFTER `available_for_order`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `online_only` TINYINT(1) NOT NULL DEFAULT '0' AFTER `on_sale`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `condition` ENUM('new', 'used', 'refurbished') NOT NULL DEFAULT 'new' AFTER `available_for_order`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `upc` VARCHAR( 12 ) NULL AFTER `ean13`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` ADD `upc` VARCHAR( 12 ) NULL AFTER `ean13`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
SET @defaultOOS = (SELECT value FROM `ps_configuration` WHERE name = 'PS_ORDER_OUT_OF_STOCK')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* Set 0 for every non-attribute product */ UPDATE `ps_product` p SET `cache_default_attribute` = 0 WHERE `id_product` NOT IN (SELECT `id_product` FROM `ps_product_attribute`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* First default attribute in stock */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND default_on = 1 AND quantity > 0 LIMIT 1) WHERE `cache_default_attribute` IS NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* Then default attribute without stock if we don't care */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND default_on = 1 LIMIT 1) WHERE `cache_default_attribute` IS NULL AND `out_of_stock` = 1 OR `out_of_stock` = IF(@defaultOOS = 1, 2, 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* Next, the default attribute can be any attribute with stock */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND quantity > 0 LIMIT 1) WHERE `cache_default_attribute` IS NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* If there is still no default attribute, then we go back to the default one */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND default_on = 1 LIMIT 1) WHERE `cache_default_attribute` IS NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_product` p SET cache_is_pack = (SELECT IF(COUNT(*) > 0, 1, 0) FROM `ps_pack` pp WHERE pp.`id_product_pack` = p.`id_product`), cache_has_attachments = (SELECT IF(COUNT(*) > 0, 1, 0) FROM `ps_product_attachment` pa WHERE pa.`id_product` = p.`id_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('deleteProductAttribute', 'Product Attribute Deletion', NULL, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name` ,`title` ,`description` ,`position`) VALUES ('beforeCarrier', 'Before carrier list', 'This hook is display before the carrier list on Front office', 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('orderDetailDisplayed', 'Order detail displayed', 'Displayed on order detail on front office', 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook_module` (`id_module`, `id_hook`, `position`) VALUES ((SELECT IFNULL((SELECT `id_module` FROM `ps_module` WHERE `name` = 'mailalerts'), 0)), (SELECT `id_hook` FROM `ps_hook` WHERE `name` = 'deleteProductAttribute'), 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ DELETE FROM `ps_hook_module` WHERE `id_module` = 0 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_country` ADD `need_zip_code` TINYINT(1) NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_country` ADD `zip_code_format` VARCHAR(12) NOT NULL DEFAULT ''
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `unit_price` DECIMAL(20,6) NOT NULL DEFAULT '0.000000' AFTER `wholesale_price`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `unity` VARCHAR(10) NOT NULL DEFAULT '0.000000' AFTER `unit_price`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` ADD `unit_price_impact` DECIMAL(17,2) NOT NULL DEFAULT '0.00' AFTER `weight`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_VOLUME_UNIT', 'cl', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `shipping_external` TINYINT( 1 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `external_module_name` varchar(64) DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `need_range` TINYINT( 1 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('processCarrier', 'Carrier Process', NULL, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('orderDetail', 'Order Detail', 'To set the follow-up in smarty when order detail is called', 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('paymentCCAdded', 'Payment CC added', 'Payment CC added', '0')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('extraProductComparison', 'Extra Product Comparison', 'Extra Product Comparison', '0')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` ADD `vat_number` varchar(32) NULL DEFAULT NULL AFTER `phone_mobile`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_TAX_ADDRESS_TYPE', 'id_address_delivery', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockpaymentlogo, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockpermanentlinks, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:add_module_to_hook(blockviewed, header); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:add_module_to_hook(blockcart, header); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:add_module_to_hook(editorial, header); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockbestsellers, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcategories, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockspecials, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcurrencies, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blocknewproducts, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockuserinfo, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:migrate_block_info_to_cms_block(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:add_module_to_hook(blockcms, header); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blocklanguages, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockmanufacturer, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockadvertising, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:add_module_to_hook(blocktags, header); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockmyaccount, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `additional_shipping_cost` DECIMAL(20,2) NOT NULL DEFAULT '0.000000' AFTER `unit_price`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_currency` ADD `active` TINYINT(1) NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax` ADD `active` TINYINT(1) NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_ATTRIBUTE_CATEGORY_DISPLAY', 1, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_discount` ADD `cart_display` TINYINT( 4 ) NOT NULL AFTER `active` , ADD `date_add` DATETIME NOT NULL AFTER `cart_display` , ADD `date_upd` DATETIME NOT NULL AFTER `date_add`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `shipping_method` INT( 2 ) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_stock_mvt` ( `id_stock_mvt` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_product` int(11) unsigned DEFAULT NULL, `id_product_attribute` int(11) unsigned DEFAULT NULL, `id_order` int(11) unsigned DEFAULT NULL, `id_stock_mvt_reason` int(11) unsigned NOT NULL, `id_employee
]]>
<![CDATA[
` int(11) unsigned NOT NULL, `quantity` int(11) NOT NULL, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_stock_mvt`), KEY `id_order` (`id_order`), KEY `id_product` (`id_product`), KEY `id_product_attribute` (`id_product_attribute`), KEY `id_stock_mvt_reason` (`id_stock_mvt_reason`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_stock_mvt' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_stock_mvt_reason` ( `id_stock_mvt_reason` int(11) NOT NULL AUTO_INCREMENT, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_stock_mvt_reason`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_stock_mvt_reason' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` CHANGE `quantity` `quantity` INT( 10 ) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` CHANGE `quantity` `quantity` INT( 10 ) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_stock_mvt_reason_lang` ( `id_stock_mvt_reason` int(11) NOT NULL, `id_lang` int(11) NOT NULL, `name` varchar(255) CHARACTER SET utf8 NOT NULL, PRIMARY KEY (`id_stock_mvt_reason`,`id_lang`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_stock_mvt_reason_lang' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_stock_mvt_reason` (`id_stock_mvt_reason`, `date_add`, `date_upd`) VALUES (1, NOW(), NOW()), (2, NOW(), NOW()), (3, NOW(), NOW())
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate entry '1' for key 'PRIMARY' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_stock_mvt_reason_lang` (`id_stock_mvt_reason`, `id_lang`, `name`) VALUES (1, 1, 'Order'), (1, 2, 'Commande'), (2, 1, 'Missing Stock Movement'), (2, 2, 'Mouvement de stock manquant'), (3, 1, 'Restocking'), (3, 2, 'Réassort')
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate entry '1-2' for key 'PRIMARY' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_COMPARATOR_MAX_ITEM', 0, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_meta_lang` ADD `url_rewrite` VARCHAR( 255 ) NOT NULL , ADD INDEX ( `url_rewrite` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('address') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'address'), 'Address', 'address'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'address'), 'Adresse', 'adresse'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'address'), 'Dirección', 'direccion')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('addresses')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'addresses'), 'Addresses', 'addresses'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'addresses'), 'Adresses', 'adresses'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'addresses'), 'Direcciones', 'direcciones')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('authentication')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'authentication'), 'Authentication', 'authentication'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'authentication'), 'Authentification', 'authentification'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'authentication'), 'Autenticación', 'autenticacion')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('cart') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'cart'), 'Cart', 'cart'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'cart'), 'Panier', 'panier'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'cart'), 'Carro de la compra', 'carro-de-la-compra')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('discount') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'discount'), 'Discount', 'discount'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'discount'), 'Bons de réduction', 'bons-de-reduction'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'discount'), 'Descuento', 'descuento')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('history') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'history'), 'Order history', 'order-history'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'history'), 'Historique des commandes', 'historique-des-commandes'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'history'), 'Historial de pedidos', 'historial-de-pedidos')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('identity') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'identity'), 'Identity', 'identity'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'identity'), 'Identité', 'identite'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'identity'), 'Identidad', 'identidad')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('my-account')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'my-account'), 'My account', 'my-account'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'my-account'), 'Mon compte', 'mon-compte'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'my-account'), 'Mi Cuenta', 'mi-cuenta')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('order-follow')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-follow'), 'Order follow', 'order-follow'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-follow'), 'Détails de la commande', 'details-de-la-commande'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-follow'), 'Devolución de productos', 'devolucion-de-productos')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('order-slip')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-slip'), 'Order slip', 'order-slip'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-slip'), 'Avoirs', 'avoirs'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-slip'), 'Vales', 'vales')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('order') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order'), 'Order', 'order'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order'), 'Commande', 'commande'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order'), 'Carrito', 'carrito')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('search') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'search' LIMIT 1), 'Search', 'search'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'search' LIMIT 1), 'Recherche', 'recherche'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'search' LIMIT 1), 'Buscar', 'buscar')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ INSERT INTO `ps_meta` (`page`) VALUES ('stores') ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) VALUES (1, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'stores'), 'Stores', 'stores'), (2, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'stores'), 'Magagins', 'magasins'), (3, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'stores'), 'Tiendas', 'tiendas')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_manufacturer` ADD `active` tinyint(1) NOT NULL default 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_supplier` ADD `active` tinyint(1) NOT NULL default 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_manufacturer` SET `active` = 1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_supplier` SET `active` = 1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cms` ADD `active` tinyint(1) unsigned NOT NULL default 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_cms` SET `active` = 1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` ADD `secure_key` varchar(32) NOT NULL default '-1' AFTER `id_guest`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` ADD `product_upc` varchar(12) default NULL AFTER `product_ean13`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_discount` ADD `id_group` int(10) unsigned NOT NULL default 0
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_store` ( `id_store` int(10) unsigned NOT NULL AUTO_INCREMENT, `id_country` int(10) unsigned NOT NULL, `id_state` int(10) unsigned DEFAULT NULL, `name` varchar(128) NOT NULL, `address1` varchar(128) NOT NULL, `address2` varchar(128) DEFAULT NULL, `city` varchar(64) NOT NULL, `postcode` varchar(12) NOT NULL, `latitude` float(10,6) DEFAULT NULL, `longitude` float(10,6) DEFAULT NULL, `hours` varchar(254) DEFAULT NULL, `phone` varchar(16) DEFAULT NULL, `fax` varchar(16) DEFAULT NULL, `email` varchar(128) DEFAULT NULL, `note` text, `active` tinyint(1) unsigned NOT NULL DEFAULT '0', `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_store`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_store' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('categoryAddition', '', 'Temporary hook. Must NEVER be used. Will soon be replaced by a generic CRUD hook system.', 0), ('categoryUpdate', '', 'Temporary hook. Must NEVER be used. Will soon be replaced by a generic CRUD hook system.', 0), ('categoryDeletion', '', 'Temporary hook. Must NEVER be used. Will soon be replaced by a generic CRUD hook system.', 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcategories, categoryAddition); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcategories, categoryUpdate); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcategories, categoryDeletion); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ DELETE FROM `ps_hook_module` WHERE `id_module` = 0 ]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_required_field` ( `id_required_field` int(11) NOT NULL AUTO_INCREMENT, `object_name` varchar(32) NOT NULL, `field_name` varchar(32) NOT NULL, PRIMARY KEY (`id_required_field`), KEY `object_name` (`object_name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_required_field' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_memcached_servers` ( `id_memcached_server` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY , `ip` VARCHAR( 254 ) NOT NULL , `port` INT(11) UNSIGNED NOT NULL , `weight` INT(11) UNSIGNED NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_memcached_servers' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_webservice_account` ( `id_webservice_account` int(11) NOT NULL AUTO_INCREMENT, `key` varchar(32) NOT NULL, `active` tinyint(2) NOT NULL, PRIMARY KEY (`id_webservice_account`), KEY `key` (`key`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_webservice_account' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_webservice_permission` ( `id_webservice_permission` int(11) NOT NULL AUTO_INCREMENT, `resource` varchar(50) NOT NULL, `method` enum('GET','POST','PUT','DELETE') NOT NULL, `id_webservice_account` int(11) NOT NULL, PRIMARY KEY (`id_webservice_permission`), UNIQUE KEY `resource_2` (`resource`,`method`,`id_webservice_account`), KEY `resource` (`resource`), KEY `method` (`method`), KEY `id_webservice_account` (`id_webservice_account`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_webservice_permission' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP */ /* PHP:editorial_update(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:reorderpositions(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:update_image_size_in_db(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[ /* PHP:update_order_details(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminInformation, en:Configuration Information|fr:Informations|es:Informations|it:Informazioni di configurazione|de:Konfigurationsinformationen, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminCustomerThreads, en:Customer Service|de:Kundenservice|fr:SAV|es:Servicio al cliente|it:Servizio clienti, 29); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminAddonsCatalog, fr:Catalogue de modules et thèmes|de:Module und Themenkatalog|en:Modules & Themes Catalog|it:Moduli & Temi catalogo, 7); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminAddonsMyAccount, it:Il mio Account|de:Mein Konto|fr:Mon compte|en:My Account, 7); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminPerformance, de:Leistung|en:Performance|it:Performance|fr:Performances|es:Rendimiento, 8); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminThemes, es:Temas|it:Temi|de:Themen|en:Themes|fr:Thèmes, 7); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminWebservice, fr:Service web|es:Web service|en:Webservice|de:Webservice|it:Webservice, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_country_tax` ( `id_country_tax` int(11) NOT NULL AUTO_INCREMENT, `id_country` int(11) NOT NULL, `id_tax` int(11) NOT NULL, PRIMARY KEY (`id_country_tax`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_product_country_tax` ( `id_product` int(11) NOT NULL, `id_country` int(11) NOT NULL, `id_tax` int(11) NOT NULL, UNIQUE KEY `id_product` (`id_product`,`id_country`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab` WHERE `class_name` = 'AdminStatsModules' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` NOT IN (SELECT id_tab FROM `ps_tab`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_access` WHERE `id_tab` NOT IN (SELECT id_tab FROM `ps_tab`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_module` (`name`, `active`) VALUES ('statsforecast', 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook_module` (`id_module`, `id_hook` , `position`) (SELECT id_module, 32, (SELECT max_position from (SELECT MAX(position)+1 as max_position FROM `ps_hook_module` WHERE `id_hook` = 32) tmp) FROM `ps_module` WHERE `name` = 'statsforecast')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_GEOLOCATION_ENABLED', '0', NOW(), NOW()), ('PS_ALLOWED_COUNTRIES', 'AF;ZA;AX;AL;DZ;DE;AD;AO;AI;AQ;AG;AN;SA;AR;AM;AW;AU;AT;AZ;BS;BH;BD;BB;BY;BE;BZ;BJ;BM;BT;BO;BA;BW;BV;BR;BN;BG;BF;MM;BI;KY;KH;CM;CA;CV;CF;CL;CN;CX;CY;CC;CO;KM;CG;CD;CK;KR;KP;CR;CI;HR;CU;DK;DJ;DM;EG;IE;SV;AE;EC;ER;ES;EE;ET;FK;FO;FJ;FI;FR;GA;GM;GE;GS;GH;GI;GR;GD;GL;GP;GU;GT;GG;GN;GQ;GW;GY;GF;HT;HM;HN;HK;HU;IM;MU;VG;VI;IN;ID;IR;IQ;IS;IL;IT;JM;JP;JE;JO;KZ;KE;KG;KI;KW;LA;LS;LV;LB;LR;LY;LI;LT;LU;MO;MK;MG;MY;MW;MV;ML;MT;MP;MA;MH;MQ;MR;YT;MX;FM;MD;MC;MN;ME;MS;MZ;NA;NR;NP;NI;NE;NG;NU;NF;NO;NC;NZ;IO;OM;UG;UZ;PK;PW;PS;PA;PG;PY;NL;PE;PH;PN;PL;PF;PR;PT;QA;DO;CZ;RE;RO;UK;RU;RW;EH;BL;KN;SM;MF;PM;VA;VC;LC;SB;WS;AS;ST;SN;RS;SC;SL;SG;SK;SI;SO;SD;LK;SE;CH;SR;SJ;SZ;SY;TJ;TW;TZ;TD;TF;TH;TL;TG;TK;TO;TT;TN;TM;TC;TR;TV;UA;UY;US;VU;VE;VN;WF;YE;ZM;ZW', NOW(), NOW()), ('PS_GEOLOCATION_BEHAVIOR', '0', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `conversion_rate` decimal(13,6) NOT NULL default 1 AFTER `payment`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_orders` o SET o.`conversion_rate` = IFNULL(( SELECT c.`conversion_rate` FROM `ps_currency` c WHERE c.`id_currency` = o.`id_currency` LIMIT 1), 0 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip` ADD `conversion_rate` decimal(13,6) NOT NULL default 1 AFTER `id_order`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_slip` os SET os.`conversion_rate` = IFNULL(( SELECT o.`conversion_rate` FROM `ps_orders` o WHERE os.`id_order` = o.`id_order` LIMIT 1), 0 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET `value` = 'gridhtml' WHERE `name` = 'PS_STATS_GRID_RENDER' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_module` SET `name` = 'gridhtml' WHERE `name` = 'gridextjs' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attachment` CHANGE `mime` `mime` varchar(64) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attachment` ADD `file_name` varchar(128) NOT NULL default '' AFTER `file`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_attachment` a SET `file_name` = ( SELECT `name` FROM `ps_attachment_lang` al WHERE al.`id_attachment` = a.`id_attachment` AND al.`id_lang` = ( SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_LANG_DEFAULT') )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name` = 'AdminCMSContent' WHERE `class_name` = 'AdminCMS' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
SET @id_timezone = (SELECT `name` FROM `ps_timezone` WHERE `id_timezone` = (SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_TIMEZONE' LIMIT 1) LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET `value` = @id_timezone WHERE `name` = "PS_TIMEZONE" LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_country` ADD `id_currency` INT NOT NULL DEFAULT '0' AFTER `id_zone`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[ /* PHP */ /* PHP:group_reduction_column_fix(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[ /* PHP:ecotax_tax_application_fix(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[ /* PHP:cms_block(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.3">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminGeolocation, es:Geolocalización|it:Geolocalizzazione|en:Geolocation|de:Geotargeting|fr:Géolocalisation, 8); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` CHANGE `ecotax` `ecotax` DECIMAL(21, 6) NOT NULL DEFAULT '0.00'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[ /* PHP:move_crossselling(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[ UPDATE `ps_cms` SET `id_cms_category` = 1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminStores, fr:Magasins|es:Tiendas|en:Stores|de:Shops|it:Negozi, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) SELECT 'PS_LOCALE_LANGUAGE', l.`iso_code`, NOW(), NOW() FROM `ps_configuration` c INNER JOIN `ps_lang` l ON (l.`id_lang` = c.`value`) WHERE c.`name` = 'PS_LANG_DEFAULT'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) SELECT 'PS_LOCALE_COUNTRY', co.`iso_code`, NOW(), NOW() FROM `ps_configuration` c INNER JOIN `ps_country` co ON (co.`id_country` = c.`value`) WHERE c.`name` = 'PS_COUNTRY_DEFAULT'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[ /* PHP:reorderpositions(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_webservice_permission` CHANGE `method` `method` ENUM( 'GET', 'POST', 'PUT', 'DELETE', 'HEAD' ) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_ATTACHMENT_MAXIMUM_SIZE', '2', NOW(), NOW()), ('PS_SMARTY_CACHE', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` CHANGE `price` `price` decimal(20,6) NOT NULL default '0.000000'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.4">
<sqlQuery>
<![CDATA[
UPDATE `ps_product_attribute` pa SET pa.`price` = pa.`price` / (1 + IFNULL((SELECT t.`rate` FROM `ps_tax` t INNER JOIN `ps_product` p ON (p.`id_tax` = t.`id_tax`) WHERE p.`id_product` = pa.`id_product`) ,0) / 100)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
SET @alias = (SELECT IFNULL((SELECT `id_tab` FROM `ps_tab` WHERE `class_name` = "AdminAliases" LIMIT 1), '0'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `id_parent` = 8 WHERE `id_tab` = @alias LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
SET @stores = (SELECT IFNULL((SELECT `id_tab` FROM `ps_tab` WHERE `class_name` = "AdminStores" LIMIT 1), '0'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `id_parent` = 9 WHERE `id_tab` = @stores LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
SET @pdf = (SELECT IFNULL((SELECT `id_tab` FROM `ps_tab` WHERE `class_name` = "AdminPDF" LIMIT 1), '0'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `id_parent` = 3 WHERE `id_tab` = @pdf LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
SET @tabs = (SELECT IFNULL((SELECT `id_tab` FROM `ps_tab` WHERE `class_name` = "AdminTabs" LIMIT 1), '0'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `id_parent` = 29 WHERE `id_tab` = @tabs LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image_type` ADD `stores` tinyint(1) NOT NULL default '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_FORCE_SMARTY_2', '0', NOW(), NOW()), ('PS_DIMENSION_UNIT', 'cm', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `width` FLOAT NOT NULL AFTER `location`, ADD `height` FLOAT NOT NULL AFTER `width`, ADD `depth` FLOAT NOT NULL AFTER `height`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
SET @id_module = (SELECT IFNULL((SELECT `id_module` FROM `ps_module` WHERE `name` = "statshome" LIMIT 1), '0'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_module` WHERE `id_module` = @id_module
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_hook_module` WHERE `id_module` = @id_module
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` ADD `is_guest` TINYINT(1) NOT NULL DEFAULT '0' AFTER `deleted`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_GUEST_CHECKOUT_ENABLED', '0', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD `nleft` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `level_depth`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD `nright` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `nleft`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD INDEX `nleftright` (`nleft`, `nright`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `id_tax_rules_group` int(10) unsigned NOT NULL AFTER `id_tax`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `id_tax_rules_group` int(10) unsigned NOT NULL AFTER `id_tax`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD INDEX ( `id_tax_rules_group` )
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_tax_rule` ( `id_tax_rules_group` INT NOT NULL , `id_country` INT NOT NULL , `id_state` INT NOT NULL , `id_tax` INT NOT NULL , `state_behavior` INT NOT NULL , PRIMARY KEY ( `id_tax_rules_group`, `id_country` , `id_state` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_tax_rule' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_tax_rules_group` ( `id_tax_rules_group` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `name` VARCHAR( 32 ) NOT NULL , `active` INT NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_tax_rules_group' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_help_access` ( `id_help_access` int(11) NOT NULL AUTO_INCREMENT, `label` varchar(45) NOT NULL, `version` varchar(8) NOT NULL, PRIMARY KEY (`id_help_access`), UNIQUE KEY `label` (`label`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminTaxRulesGroup, it:Regimi fiscali|es:Reglas de Impuestos|fr:Règles de taxes|de:Steuerregeln|en:Tax Rules, 4); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ /* PHP:generate_ntree(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ /* PHP:generate_tax_rules(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ /* PHP:id_currency_country_fix(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ /* PHP:update_modules_sql(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_product` DROP `id_tax` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_carrier` DROP `id_tax` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
DROP TABLE `ps_tax_state`, `ps_tax_zone`, `ps_country_tax`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `carrier_tax_rate` DECIMAL(10, 3) NOT NULL default '0.00' AFTER `total_shipping`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.5">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`id_hook`, `name`, `title`, `description`, `position`) VALUES (NULL, 'beforeAuthentication', 'Before Authentication', 'Before authentication', 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` DROP INDEX `customer_email`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` ADD INDEX `customer_email` (`email`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_lang` ADD `language_code` char(5) NULL AFTER `iso_code`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[ UPDATE `ps_lang` SET language_code = iso_code ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_lang` MODIFY `language_code` char(5) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_module` WHERE `name` = 'gridextjs' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_hook_module` WHERE `id_module` NOT IN (SELECT id_module FROM `ps_module`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.6">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET `value` = 'gridhtml' WHERE `name` = 'PS_STATS_GRID_RENDER' AND `value` = 'gridextjs' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.7">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` ADD `minimal_quantity` int(10) unsigned NOT NULL DEFAULT '1' AFTER `default_on`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `reference` VARCHAR(14) NOT NULL AFTER `id_address_invoice`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.7">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES('PS_DISPLAY_SUPPLIERS', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.7">
<sqlQuery>
<![CDATA[ /* PHP:update_products_ecotax_v133(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
CREATE TEMPORARY TABLE `ps_tab_tmp1` ( `id_parent` int(11) )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tab_tmp1` (SELECT * FROM (SELECT `id_parent` FROM `ps_tab` WHERE `class_name` = 'AdminTaxes') AS tmp)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
CREATE TEMPORARY TABLE `ps_tab_tmp2` ( `position` int(10) )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tab_tmp2` (SELECT * FROM (SELECT `position` FROM `ps_tab` WHERE `class_name` = 'AdminTaxes') AS tmp2)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `position` = `position` + 1 WHERE `id_parent` = (SELECT id_parent FROM ps_tab_tmp1 AS tmp) AND `position` > (SELECT position FROM ps_tab_tmp2 AS tmp2)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ DROP TABLE ps_tab_tmp1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ DROP TABLE ps_tab_tmp2 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
CREATE TEMPORARY TABLE `ps_tab_tmp` ( `position` int(10) )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tab_tmp` (SELECT * FROM (SELECT `position` FROM `ps_tab` WHERE `class_name` = 'AdminTaxes') AS tmp)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `position` = (SELECT position FROM ps_tab_tmp tmp) + 1 WHERE `class_name` = 'AdminTaxRulesGroup'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ DROP TABLE ps_tab_tmp ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `title` = 'Category creation', description = '' WHERE `name` = 'categoryAddition' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `title` = 'Category modification', description = '' WHERE `name` = 'categoryUpdate' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `title` = 'Category removal', description = '' WHERE `name` = 'categoryDeletion' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_module` WHERE `name` = 'canonicalurl' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_hook_module` WHERE `id_module` NOT IN (SELECT id_module FROM `ps_module`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ /* PHP:gridextjs_deprecated(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ /* PHP:shop_url(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.8">
<sqlQuery>
<![CDATA[ /* PHP:updateproductcomments(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.9">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.9">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_specific_price_priority` ( `id_specific_price_priority` INT NOT NULL AUTO_INCREMENT , `id_product` INT NOT NULL , `priority` VARCHAR( 80 ) NOT NULL , PRIMARY KEY ( `id_specific_price_priority` , `id_product` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_specific_price_priority' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.9">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `unit_price_ratio` DECIMAL(20, 6) NOT NULL default '0.00' AFTER `unit_price`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.9">
<sqlQuery>
<![CDATA[
UPDATE `ps_product` SET `unit_price_ratio` = IF (`unit_price` != 0, `price` / `unit_price`, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.9">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_product` DROP `unit_price` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.9">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_discount` ADD `behavior_not_exhausted` TINYINT(3) DEFAULT '1' AFTER `id_discount_type`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_CATALOG_MODE', '0', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_specific_price` DROP `priority` ]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[
Can't DROP 'priority'; check that column/key exists
]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1091 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_GEOLOCATION_WHITELIST', '209.185.108;209.185.253;209.85.238;209.85.238.11;209.85.238.4;216.239.33.96;216.239.33.97;216.239.33.98;216.239.33.99;216.239.37.98;216.239.37.99;216.239.39.98;216.239.39.99;216.239.41.96;21
]]>
<![CDATA[
6.239.41.97;216.239.41.98;216.239.41.99;216.239.45.4;216.239.46;216.239.51.96;216.239.51.97;216.239.51.98;216.239.51.99;216.239.53.98;216.239.53.99;216.239.57.96;216.239.57.97;216.239.57.98;216.239.57.99;216.239.59.98;216.239.59.99;216.33.229.163;64.233.173.193;64.233.173.194;64.233.173.195;64.233.173.196;64.233.173.197;64.233.173.198;64.233.173.199;64.233.173.200;64.233.173.201;64.233.173.202;64.233.173.203;64.233.173.204;64.233.173.205;64.233.173.206;64.233.173.207;64.233.173.208;64.233.173.209;64.233.173.210;64.233.173.211;64.233.173.212;64.233.173.213;64.233.173.214;64.233.173.215;64.233.173.216;64.233.173.217;64.233.173.218;64.233.173.219;64.233.173.220;64.233.173.221;64.233.173.222;64.233.173.223;64.233.173.224;64.233.173.225;64.233.173.226;64.233.173.227;64.233.173.228;64.233.173.229;64.233.173.230;64.233.173.231;64.233.173.232;64.233.173.233;64.233.173.234;64.233.173.235;64.233.173.236;64.233.173.237;64.233.173.238;64.233.173.239;64.233.173.240;64.233.173.241;64.233.173.242;64.233.173.243;64.233.173.244;64.233.173.245;64.233.173.246;64.233.173.247;64.233.173.248;64.233.173.249;64.233.173.250;64.233.173.251;64.233.173.252;64.233.173.253;64.233.173.254;64.233.173.255;64.68.80;64.68.81;64.68.82;64.68.83;64.68.84;64.68.85;64.68.86;64.68.87;64.68.88;64.68.89;64.68.90.1;64.68.90.10;64.68.90.11;64.68.90.12;64.68.90.129;64.68.90.13;64.68.90.130;64.68.90.131;64.68.90.132;64.68.90.133;64.68.90.134;64.68.90.135;64.68.90.136;64.68.90.137;64.68.90.138;64.68.90.139;64.68.90.14;64.68.90.140;64.68.90.141;64.68.90.142;64.68.90.143;64.68.90.144;64.68.90.145;64.68.90.146;64.68.90.147;64.68.90.148;64.68.90.149;64.68.90.15;64.68.90.150;64.68.90.151;64.68.90.152;64.68.90.153;64.68.90.154;64.68.90.155;64.68.90.156;64.68.90.157;64.68.90.158;64.68.90.159;64.68.90.16;64.68.90.160;64.68.90.161;64.68.90.162;64.68.90.163;64.68.90.164;64.68.90.165;64.68.90.166;64.68.90.167;64.68.90.168;64.68.90.169;64.68.90.17;64.68.90.170;64.68.90.171;64.68.90.172;64.68.90.173;64.68.90.174;64.68.90.175;64.68.90.176;64.68.90.177;64.68.90.178;64.68.90.179;64.68.90.18;64.68.90.180;64.68.90.181;64.68.90.182;64.68.90.183;64.68.90.184;64.68.90.185;64.68.90.186;64.68.90.187;64.68.90.188;64.68.90.189;64.68.90.19;64.68.90.190;64.68.90.191;64.68.90.192;64.68.90.193;64.68.90.194;64.68.90.195;64.68.90.196;64.68.90.197;64.68.90.198;64.68.90.199;64.68.90.2;64.68.90.20;64.68.90.200;64.68.90.201;64.68.90.202;64.68.90.203;64.68.90.204;64.68.90.205;64.68.90.206;64.68.90.207;64.68.90.208;64.68.90.21;64.68.90.22;64.68.90.23;64.68.90.24;64.68.90.25;64.68.90.26;64.68.90.27;64.68.90.28;64.68.90.29;64.68.90.3;64.68.90.30;64.68.90.31;64.68.90.32;64.68.90.33;64.68.90.34;64.68.90.35;64.68.90.36;64.68.90.37;64.68.90.38;64.68.90.39;64.68.90.4;64.68.90.40;64.68.90.41;64.68.90.42;64.68.90.43;64.68.90.44;64.68.90.45;64.68.90.46;64.68.90.47;64.68.90.48;64.68.90.49;64.68.90.5;64.68.90.50;64.68.90.51;64.68.90.52;64.68.90.53;64.68.90.54;64.68.90.55;64.68.90.56;64.68.90.57;64.68.90.58;64.68.90.59;64.68.90.6;64.68.90.60;64.68.90.61;64.68.90.62;64.68.90.63;64.68.90.64;64.68.90.65;64.68.90.66;64.68.90.67;64.68.90.68;64.68.90.69;64.68.90.7;64.68.90.70;64.68.90.71;64.68.90.72;64.68.90.73;64.68.90.74;64.68.90.75;64.68.90.76;64.68.90.77;64.68.90.78;64.68.90.79;64.68.90.8;64.68.90.80;64.68.90.9;64.68.91;64.68.92;66.249.64;66.249.65;66.249.66;66.249.67;66.249.68;66.249.69;66.249.70;66.249.71;66.249.72;66.249.73;66.249.78;66.249.79;72.14.199;8.6.48', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` ADD `dni` VARCHAR(16) NULL AFTER `vat_number`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[
UPDATE `ps_address` a SET `dni` = ( SELECT `dni` FROM `ps_customer` c WHERE c.`id_customer` = a.`id_customer` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_customer` DROP `dni` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`) VALUES ('paymentTop', 'Top of payment page', 'Top of payment page', 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
CREATE TEMPORARY TABLE `ps_tab_tmp` ( `position` int(10) )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tab_tmp` (SELECT * FROM (SELECT `position` FROM `ps_tab` WHERE `class_name` = 'AdminTaxes') AS tmp)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `position` = (SELECT position FROM ps_tab_tmp tmp) + 1 WHERE `class_name` = 'AdminTaxRulesGroup'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[ DROP TABLE ps_tab_tmp ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE `name` = 'PS_INVOICE_NUMBER'
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_log` ( `id_log` int(10) unsigned NOT NULL AUTO_INCREMENT, `severity` tinyint(1) NOT NULL, `error_code` int(11) DEFAULT NULL, `message` text NOT NULL, `object_type` varchar(32) DEFAULT NULL, `object_id` int(10) unsigned DEFAULT NULL, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_log`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_log' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_LOGS_BY_EMAIL', '5', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rules_group` CHANGE `name` `name` VARCHAR( 50 ) NOT NULL
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_import_match` ( `id_import_match` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `match` text NOT NULL, `skip` int(2) NOT NULL, PRIMARY KEY (`id_import_match`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_import_match' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.11">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminLogs, en:Log|fr:Log|es:Log|de:Log|it:Log, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.12">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` CHANGE `ecotax` `ecotax` DECIMAL( 17, 6 ) NOT NULL DEFAULT '0.00'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.12">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_LAST_SHOP_UPDATE', NOW(), NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.12">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_STORES_DISPLAY_SITEMAP', 1, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.12">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_COOKIE_CHECKIP', 1, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.13">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_tax_rule` DROP PRIMARY KEY ]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[
Incorrect table definition; there can be only one auto column and it must be defined as a key
]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1075 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD `id_tax_rule` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate column name 'id_tax_rule' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1060 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_tax_rule` ADD INDEX ( `id_tax` ) ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD INDEX ( `id_tax_rules_group` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` MODIFY `dni` VARCHAR(16) NULL AFTER `vat_number`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('BLOCKSTORE_IMG', 'store.jpg', NOW(), NOW()), ('PS_STORES_CENTER_LAT', '25.948969', NOW(), NOW()), ('PS_STORES_CENTER_LONG', '-80.226439', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminInformation, en:Configuration Information|fr:Informations|es:Informations|it:Informazioni di configurazione|de:Konfigurationsinformationen, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminPerformance, de:Leistung|en:Performance|it:Performance|fr:Performances|es:Rendimiento, 8); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminCustomerThreads, en:Customer Service|de:Kundenservice|fr:SAV|es:Servicio al cliente|it:Servizio clienti, 29); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminWebservice, fr:Service web|es:Web service|en:Webservice|de:Webservice|it:Webservice, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminAddonsCatalog, fr:Catalogue de modules et thèmes|de:Module und Themenkatalog|en:Modules & Themes Catalog|it:Moduli & Temi catalogo, 7); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminAddonsMyAccount, it:Il mio Account|de:Mein Konto|fr:Mon compte|en:My Account, 7); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminThemes, es:Temas|it:Temi|de:Themen|en:Themes|fr:Thèmes, 7); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminGeolocation, es:Geolocalización|it:Geolocalizzazione|en:Geolocation|de:Geotargeting|fr:Géolocalisation, 8); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminTaxRulesGroup, it:Regimi fiscali|es:Reglas de Impuestos|fr:Règles de taxes|de:Steuerregeln|en:Tax Rules, 4); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.14">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminLogs, en:Log|fr:Log|es:Log|de:Log|it:Log, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminCounty, fr:Comtés|es:Condados|en:Counties|de:Counties|it:Counties, 5); */
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD `county_behavior` INT NOT NULL AFTER `state_behavior`
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate column name 'county_behavior' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1060 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD `id_county` INT NOT NULL AFTER `id_country`
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate column name 'id_county' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1060 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD UNIQUE ( `id_tax_rules_group` , `id_country` , `id_state` , `id_county` )
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_county` ( `id_county` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(64) NOT NULL, `id_state` int(11) NOT NULL, `active` tinyint(1) NOT NULL, PRIMARY KEY (`id_county`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_county' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_county_zip_code` ( `id_county` INT NOT NULL , `from_zip_code` INT NOT NULL , `to_zip_code` INT NOT NULL , PRIMARY KEY ( `id_county` , `from_zip_code` , `to_zip_code` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_county_zip_code' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_HOMEPAGE_PHP_SELF', 'index.php', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_USE_ECOTAX', (SELECT IF((SELECT `ecotax` FROM `ps_product` WHERE `ecotax` != 0 LIMIT 1),'1','0')), NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_hook` ADD `live_edit` TINYINT NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.15">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `live_edit` = '1' WHERE `ps_hook`.`name` IN ('rightColumn', 'leftColumn', 'home')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`id_hook`, `name`, `title`, `description`, `position`) VALUES (NULL, 'afterCreateHtaccess', 'After htaccess creation', 'After htaccess creation', 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta_lang` SET `url_rewrite` = 'kontaktieren-sie-uns' WHERE id_meta = 3 AND id_lang = 4 AND url_rewrite = 'Kontaktieren Sie uns'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta_lang` SET `url_rewrite` = 'kennwort-wiederherstellung' WHERE id_meta = 7 AND id_lang = 4 AND url_rewrite = 'Kennwort Wiederherstellung'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta_lang` SET `url_rewrite` = 'il-mio-account' WHERE id_meta = 18 AND id_lang = 5 AND url_rewrite = 'il mio-account'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta_lang` SET `url_rewrite` = 'nota-di-ordine' WHERE id_meta = 20 AND id_lang = 5 AND url_rewrite = 'nota di-ordine'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('order-opc')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) ( SELECT `id_lang`, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'order-opc'), 'Order', 'quick-order' FROM `ps_lang` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta` (`page`) VALUES ('guest-tracking')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_meta_lang` (`id_lang`, `id_meta`, `title`, `url_rewrite`) ( SELECT `id_lang`, (SELECT `id_meta` FROM `ps_meta` WHERE `page` = 'guest-tracking'), 'Guest tracking', 'guest-tracking' FROM `ps_lang` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `live_edit` = '1' WHERE `ps_hook`.`name` IN ('productfooter', 'payment')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET name = 'PS_GEOLOCATION_ENABLED' WHERE name = 'PS_GEOLOCALIZATION_ENABLED'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET name = 'PS_GEOLOCATION_BEHAVIOR' WHERE name = 'PS_GEOLOCALIZATION_BEHAVIOR'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET name = 'PS_GEOLOCATION_WHITELIST' WHERE name = 'PS_GEOLOCALIZATION_WHITELIST'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET class_name = 'AdminGeolocation' WHERE class_name = 'AdminGeolocalization'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_CANONICAL_REDIRECT', '0', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_webservice_account` ADD `class_name` VARCHAR( 50 ) NOT NULL DEFAULT 'WebserviceRequest' AFTER `key`
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate column name 'class_name' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1060 ]]>
</sqlNumberError>
</request>
<request result="fail" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_webservice_account` ADD `description` text NULL AFTER `key`
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate column name 'description' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1060 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminHome, en:Home|fr:Accueil|es:Home|de:Home|it:Home, -1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminStockMvt, de:Lagerbewegungen|fr:Mouvements de Stock|it:Movimenti magazzino|en:Stock Movements, 1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.16">
<sqlQuery>
<![CDATA[ /* PHP:update_for_13version(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_mvt_reason` ADD `sign` TINYINT(1) NOT NULL DEFAULT '1' AFTER `id_stock_mvt_reason`
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate column name 'sign' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1060 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[ UPDATE `ps_stock_mvt_reason` SET `sign`=-1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
UPDATE `ps_stock_mvt_reason` SET `sign`=1 WHERE `id_stock_mvt_reason`=3
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
UPDATE `ps_stock_mvt_reason` SET `id_stock_mvt_reason`=`id_stock_mvt_reason`+2 ORDER BY `id_stock_mvt_reason` DESC
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
UPDATE `ps_stock_mvt` SET `id_stock_mvt_reason`=`id_stock_mvt_reason`+2
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
UPDATE `ps_stock_mvt_reason_lang` SET `id_stock_mvt_reason`=`id_stock_mvt_reason`+2 ORDER BY `id_stock_mvt_reason` DESC
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_stock_mvt_reason` (`id_stock_mvt_reason` ,`sign` ,`date_add` ,`date_upd`) VALUES ('1', '1', NOW(), NOW()), ('2', '-1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.0.17">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_stock_mvt_reason_lang` (`id_stock_mvt_reason` ,`id_lang` ,`name`) VALUES ('1', '1', 'Increase'), ('1', '2', 'Augmenter'), ('1', '3', 'Aumentar'), ('1', '4', 'Erhöhen'), ('1', '5', 'Aumento'), ('2', '1', 'Decrease'), ('2', '2', 'Diminuer'), ('2', '3', 'Disminuir'), ('2', '4', 'Reduzieren'), ('2', '5', 'Diminuzione')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`, `live_edit`) VALUES ('afterSaveAdminMeta', 'After save configuration in AdminMeta', 'After save configuration in AdminMeta', 0, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_webservice_account` ADD `is_module` TINYINT( 2 ) NOT NULL DEFAULT '0' AFTER `class_name` , ADD `module_name` VARCHAR( 50 ) NULL DEFAULT NULL AFTER `is_module`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_IMG_UPDATE_TIME', UNIX_TIMESTAMP(), NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_cms_lang` set link_rewrite = "uber-uns" where link_rewrite like "%ber-uns"
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_connections` CHANGE `ip_address` `ip_address` BIGINT NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta_lang` SET `title` = 'Angebote', `keywords` = 'besonders, Angebote', `url_rewrite` = 'angebote' WHERE url_rewrite = 'preise-fallen'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_country` ADD `display_tax_label` BOOLEAN NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[ DROP TABLE IF EXISTS `ps_country_tax` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` CHANGE `product_quantity_in_stock` `product_quantity_in_stock` INT(10) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_address_format` ( `id_country` int(10) unsigned NOT NULL, `format` varchar(255) NOT NULL DEFAULT '', KEY `country` (`id_country`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Table 'ps_address_format' already exists ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1050 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_address_format` (`id_country`, `format`) (SELECT `id_country` as id_country, 'firstname lastname\ncompany\nvat_number\naddress1\naddress2\npostcode city\ncountry\nphone' as format FROM ps_country)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_address_format` set `format`='firstname lastname company address1 address2 city State:name postcode country phone' where `id_country`=21
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[ /* PHP:alter_cms_block(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.1.0">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcategories, afterSaveAdminMeta); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tab_lang` MODIFY `id_lang` int(10) unsigned NOT NULL AFTER `id_tab`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `is_free` tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER `is_module`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_address_format` SET `format`=REPLACE(REPLACE(`format`, 'state_iso', 'State:name'), 'country', 'Country:name')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD INDEX `date_add`(`date_add`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[ /* PHP:update_module_followup(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_STOCK_MVT_REASON_DEFAULT', 3, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
/* PHP:add_order_state(PS_OS_WS_PAYMENT, en:Payment remotely accepted|fr:Paiement à distance accepté, 1, 0, #DDEEFF, 1, 1, 0); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[ /* PHP:alter_blocklink(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[ /* PHP:update_module_loyalty(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[
/* PHP:remove_module_from_hook(blockcategories, afterCreateHtaccess); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.0">
<sqlQuery>
<![CDATA[ /* PHP:updatetabicon_from_11version(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.1">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration_lang` WHERE 1 AND `value` is NULL AND `date_upd` is NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `display_tax_label` = '1' WHERE `id_country` = 21
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[ /* PHP:check_webservice_account_table(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcms, leftColumn); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(blockcms, rightColumn); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[ /* PHP:add_module_to_hook(blockcms, footer); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_cart` ca SET `secure_key` = IFNULL((SELECT `secure_key` from `ps_customer` `cu` WHERE `cu`.`id_customer` = `ca`.`id_customer`), -1) WHERE `ca`.`secure_key` = -1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_address_format` SET `format`=REPLACE(`format`, 'state', 'State:name')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
SET @defaultOOS = (SELECT value FROM `ps_configuration` WHERE name = 'PS_ORDER_OUT_OF_STOCK')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
/* Set 0 for every non-attribute product */ UPDATE `ps_product` p SET `cache_default_attribute` = 0 WHERE `id_product` NOT IN (SELECT `id_product` FROM `ps_product_attribute`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
/* First default attribute in stock */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND default_on = 1 AND quantity > 0 LIMIT 1) WHERE `cache_default_attribute` IS NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
/* Then default attribute without stock if we don't care */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND default_on = 1 LIMIT 1) WHERE `cache_default_attribute` IS NULL AND `out_of_stock` = 1 OR `out_of_stock` = IF(@defaultOOS = 1, 2, 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
/* Next, the default attribute can be any attribute with stock */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND quantity > 0 LIMIT 1) WHERE `cache_default_attribute` IS NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
/* If there is still no default attribute, then we go back to the default one */ UPDATE `ps_product` p SET `cache_default_attribute` = (SELECT `id_product_attribute` FROM `ps_product_attribute` WHERE `id_product` = p.`id_product` AND default_on = 1 LIMIT 1) WHERE `cache_default_attribute` IS NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Zahlung eingegangen' WHERE `ps_order_state_lang`.`id_order_state` =2 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Bestellung eingegangen' WHERE `ps_order_state_lang`.`id_order_state` =3 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Versendet' WHERE `ps_order_state_lang`.`id_order_state` =4 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Erfolgreich abgeschlossen' WHERE `ps_order_state_lang`.`id_order_state` =5 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Storniert' WHERE `ps_order_state_lang`.`id_order_state` =6 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Fehler bei der Bezahlung' WHERE `ps_order_state_lang`.`id_order_state` =8 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Artikel erwartet' WHERE `ps_order_state_lang`.`id_order_state` =9 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Warten auf Zahlungseingang' WHERE `ps_order_state_lang`.`id_order_state` =10 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'Warten auf Zahlungseingang von PayPal' WHERE `ps_order_state_lang`.`id_order_state` =11 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `name` = 'PayPal Anmeldung erfolgreich' WHERE `ps_order_state_lang`.`id_order_state` =12 AND `ps_order_state_lang`.`id_lang` = (SELECT id_lang FROM `ps_lang` WHERE `iso_code` = 'de')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta_lang` SET `url_rewrite` = 'identita' WHERE `url_rewrite` = 'Identità'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.3">
<sqlQuery>
<![CDATA[ /* PHP:add_missing_rewrite_value(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.4">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.4">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_BACKUP_DROP_TABLE', 1, NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.4">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab_lang` SET `name` = 'SEO & URLs' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` WHERE `class_name` = 'AdminMeta' LIMIT 1) AND `id_lang` IN (SELECT `id_lang` FROM `ps_lang` WHERE `iso_code` IN ('en','fr','es','de','it'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.4">
<sqlQuery>
<![CDATA[
/* These 3 lines (remove_duplicate, drop index, add unique) MUST stay together in this order */ /* PHP:remove_duplicate_category_groups(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category_group` DROP INDEX `category_group_index`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category_group` ADD UNIQUE `category_group_index` (`id_category`,`id_group`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.5">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.2.5">
<sqlQuery>
<![CDATA[
/* Fix wrong category level_depth caused by bug in 1.4.0.13 upgrade script */ /* PHP:regenerate_level_depth(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.3.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.3.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_address_format` SET `format`='firstname lastname company address1 address2 city State:name postcode Country:name' WHERE `id_country` = (SELECT `id_country` FROM `ps_country` WHERE `iso_code`='GB')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.3.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `contains_states` = 1 WHERE `id_country` = 145
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.3.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_LEGACY_IMAGES', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image` MODIFY COLUMN `position` SMALLINT(2) UNSIGNED NOT NULL DEFAULT 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_OS_CHEQUE', '1', NOW(), NOW()), ('PS_OS_PAYMENT', '2', NOW(), NOW()), ('PS_OS_PREPARATION', '3', NOW(), NOW()), ('PS_OS_SHIPPING', '4', NOW(), NOW()), ('PS_OS_DELIVERED', '5', NOW(), NOW()), ('PS_OS_CANCELED', '6', NOW(), NOW()), ('PS_OS_REFUND', '7', NOW(), NOW()), ('PS_OS_ERROR', '8', NOW(), NOW()), ('PS_OS_OUTOFSTOCK', '9', NOW(), NOW()), ('PS_OS_BANKWIRE', '10', NOW(), NOW()), ('PS_OS_PAYPAL', '11', NOW(), NOW()), ('PS_OS_WS_PAYMENT', '12', NOW(), NOW()), ('PS_IMAGE_QUALITY', 'jpg', NOW(), NOW()), ('PS_PNG_QUALITY', '7', NOW(), NOW()), ('PS_JPEG_QUALITY', '90', NOW(), NOW()), ('PS_COOKIE_LIFETIME_FO', '480', NOW(), NOW()), ('PS_COOKIE_LIFETIME_BO', '480', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_lang` ADD `is_rtl` TINYINT(1) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_country_lang` SET `name` = 'United States' WHERE `name` = 'USA' AND `id_lang` = ( SELECT `id_lang` FROM `ps_lang` WHERE `iso_code` = 'en' LIMIT 1 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `live_edit` = 1 WHERE `name` = 'leftColumn' OR `name` = 'home' OR `name` = 'rightColumn' OR `name` = 'productfooter' OR `name` = 'payment'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_mvt_reason` MODIFY `sign` TINYINT(1) NOT NULL DEFAULT '1' AFTER `id_stock_mvt_reason`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab_lang` SET `name` = 'Geolocation' WHERE `name` = 'Geolocalization'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab_lang` SET `name` = 'Counties' WHERE `name` = 'County'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` MODIFY `id_county` INT NOT NULL AFTER `id_country`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_address_format` set `format`='firstname lastname company address1 address2 city, State:name postcode Country:name phone' WHERE `id_country` = (SELECT `id_country` FROM `ps_country` WHERE `iso_code`='US')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attachment` CHANGE `mime` `mime` VARCHAR(128) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_compare_product` ( `id_compare_product` int(10) unsigned NOT NULL AUTO_INCREMENT, `id_product` int(10) unsigned NOT NULL, `id_guest` int(10) unsigned NOT NULL, `id_customer` int(10) unsigned NOT NULL, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_compare_product`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE name = 'PS_LAYERED_NAVIGATION_CHECKBOXES' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.0">
<sqlQuery>
<![CDATA[ /* PHP:alter_productcomments_guest_index(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.4.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_RESTRICT_DELIVERED_COUNTRIES', '0', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_country_lang` SET `name` = 'United States' WHERE `name` = 'United State'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_discount` ADD `include_tax` TINYINT(1) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_detail` SET `product_price` = `product_price` /( 1-(`group_reduction`/100))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE name IN ('PS_LAYERED_BITLY_USERNAME', 'PS_LAYERED_BITLY_API_KEY', 'PS_LAYERED_SHARE') LIMIT 3
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_delivery` CHANGE `price` `price` DECIMAL(20, 6) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_store` CHANGE `latitude` `latitude` DECIMAL(10, 8) NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_store` CHANGE `longitude` `longitude` DECIMAL(10, 8) NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`, `live_edit`) VALUES ('attributeGroupForm', 'Add fields to the form "attribute group"', 'Add fields to the form "attribute group"', 0, 0), ('afterSaveAttributeGroup', 'On saving attribute group', 'On saving attribute group', 0, 0), ('afterDeleteAttributeGroup', 'On deleting attribute group', 'On deleting "attribute group', 0, 0), ('featureForm', 'Add fields to the form "feature"', 'Add fields to the form "feature"', 0, 0), ('afterSaveFeature', 'On saving attribute feature', 'On saving attribute feature', 0, 0), ('afterDeleteFeature', 'On deleting attribute feature', 'On deleting attribute feature', 0, 0), ('afterSaveProduct', 'On saving products', 'On saving products', 0, 0), ('productListAssign', 'Assign product list to a category', 'Assign product list to a category', 0, 0), ('postProcessAttributeGroup', 'On post-process in admin attribute group', 'On post-process in admin attribute group', 0, 0), ('postProcessFeature', 'On post-process in admin feature', 'On post-process in admin feature', 0, 0), ('featureValueForm', 'Add fields to the form "feature value"', 'Add fields to the form "feature value"', 0, 0), ('postProcessFeatureValue', 'On post-process in admin feature value', 'On post-process in admin feature value', 0, 0), ('afterDeleteFeatureValue', 'On deleting attribute feature value', 'On deleting attribute feature value', 0, 0), ('afterSaveFeatureValue', 'On saving attribute feature value', 'On saving attribute feature value', 0, 0), ('attributeForm', 'Add fields to the form "feature value"', 'Add fields to the form "feature value"', 0, 0), ('postProcessAttribute', 'On post-process in admin feature value', 'On post-process in admin feature value', 0, 0), ('afterDeleteAttribute', 'On deleting attribute feature value', 'On deleting attribute feature value', 0, 0), ('afterSaveAttribute', 'On saving attribute feature value', 'On saving attribute feature value', 0, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `bo_show_screencast` TINYINT(1) NOT NULL DEFAULT '1' AFTER `bo_uimode`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET id_zone = (SELECT id_zone FROM `ps_zone` WHERE name = 'Oceania' LIMIT 1) WHERE iso_code = 'KI' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_lang` ADD `date_format_lite` char(32) NOT NULL DEFAULT 'Y-m-d' AFTER language_code
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_lang` ADD `date_format_full` char(32) NOT NULL DEFAULT 'Y-m-d H:i:s' AFTER date_format_lite
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_lang` SET `date_format_lite` = 'd/m/Y' WHERE `iso_code` IN ('fr', 'es', 'it')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_lang` SET `date_format_full` = 'd/m/Y H:i:s' WHERE `iso_code` IN ('fr', 'es', 'it')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_lang` SET `date_format_lite` = 'd.m.Y' WHERE `iso_code` = 'de'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_lang` SET `date_format_full` = 'd.m.Y H:i:s' WHERE `iso_code` = 'de'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_lang` SET `date_format_lite` = 'm/d/Y' WHERE `iso_code` = 'en'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_lang` SET `date_format_full` = 'm/d/Y H:i:s' WHERE `iso_code` = 'en'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.0">
<sqlQuery>
<![CDATA[
ALTER IGNORE TABLE `ps_specific_price_priority` ADD UNIQUE ( `id_product` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.5.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[ /* PHP:update_order_canada(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_compare` ( `id_compare` int(10) unsigned NOT NULL AUTO_INCREMENT, `id_customer` int(10) unsigned NOT NULL, PRIMARY KEY (`id_compare`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_compare_product` DROP `id_compare_product` , DROP `id_guest` , DROP `id_customer`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_compare_product` ADD `id_compare` int(10) unsigned NOT NULL, ADD PRIMARY KEY( `id_compare`, `id_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_store` CHANGE `latitude` `latitude` DECIMAL(11, 8) NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_store` CHANGE `longitude` `longitude` DECIMAL(11, 8) NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="fail" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address_format` ADD PRIMARY KEY (`id_country`)
]]>
</sqlQuery>
<sqlMsgError>
<![CDATA[ Duplicate entry '1' for key 'PRIMARY' ]]>
</sqlMsgError>
<sqlNumberError>
<![CDATA[ 1062 ]]>
</sqlNumberError>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address_format` DROP INDEX `country`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.0">
<sqlQuery>
<![CDATA[ /* PHP:hook_blocksearch_on_header(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.1">
<sqlQuery>
<![CDATA[
/* PHP:add_module_to_hook(authorizeaim, header); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.2">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.6.2">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_LIMIT_UPLOAD_IMAGE_VALUE', '2', NOW(), NOW()), ('PS_LIMIT_UPLOAD_FILE_VALUE', '2', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[ /* PHP:category_product_index_unique(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_order_tax` ( `id_order` int(11) NOT NULL, `tax_name` varchar(40) NOT NULL, `tax_rate` decimal(6,3) NOT NULL, `amount` decimal(20,6) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` (`name`, `title`, `description`, `position`, `live_edit`) VALUES ('frontCanonicalRedirect', 'Front Canonical Redirect', 'Check for 404 errors before canonical redirects', 0, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
SET @id_hook = (SELECT `id_hook` FROM `ps_hook` WHERE `name` = 'frontCanonicalRedirect')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
SET @position = (SELECT IFNULL(MAX(`position`),0)+1 FROM `ps_hook_module` WHERE `id_hook` = @id_hook)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
SET @id_module = (SELECT `id_module` FROM `ps_module` WHERE `name` = 'pagesnotfound')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook_module` (`id_hook`, `id_module`, `position`) VALUES (@id_hook, @id_module, @position)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_state` ADD COLUMN `deleted` tinyint(1) UNSIGNED NOT NULL default '0' AFTER `delivery`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.7.2">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.8.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.8.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_feature_product` ADD INDEX `id_product`(`id_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image` ADD UNIQUE KEY `idx_product_image` (`id_image` , `id_product` , `cover`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[ /* PHP:clean_category_product(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category_product` DROP INDEX `category_product_index`, ADD PRIMARY KEY (`id_category`, `id_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cms_category_lang` DROP INDEX `category_lang_index`, ADD PRIMARY KEY (`id_cms_category`, `id_lang`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_tax` ADD `id_order_tax` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_feature_lang` ADD INDEX feature_name (`id_lang`, `name`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_state` ADD INDEX statename (`name`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD INDEX nleftrightactive (`nleft`, `nright`, `active`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD INDEX level_depth (`level_depth`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD INDEX nright (`nright`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD INDEX nleft (`nleft`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD INDEX from_quantity (`from_quantity`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD INDEX indexed (`indexed`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_country` SET `zip_code_format` = 'NNNNN' WHERE `iso_code` = 'MC' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_county_zip_code` SET `to_zip_code` = `from_zip_code` WHERE `to_zip_code` = 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_configuration` SET `value` = 0 WHERE `name` = 'PS_HIGH_HTML_THEME_COMPRESSION' LIMIT 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`)(SELECT 'PS_TAX_DISPLAY_ALL', `value`, NOW(), NOW() FROM `ps_configuration` WHERE name = 'PS_TAX_DISPLAY' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_referrer_cache` WHERE id_referrer NOT IN (SELECT id_referrer FROM `ps_referrer`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.0">
<sqlQuery>
<![CDATA[ /* PHP:update_module_blocklayered(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.4.9.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_group_shop` ( `id_group_shop` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(64) CHARACTER SET utf8 NOT NULL, `share_customer` TINYINT(1) NOT NULL, `share_order` TINYINT(1) NOT NULL, `share_stock` TINYINT(1) NOT NULL, `active` tinyint(1) NOT NULL DEFAULT '1', `deleted` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_group_shop` (`id_group_shop`, `name`, `active`, `deleted`, `share_stock`, `share_customer`, `share_order`) VALUES (1, 'Default', 1, 0, 0, 0, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_shop` ( `id_shop` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_group_shop` int(11) unsigned NOT NULL, `name` varchar(64) CHARACTER SET utf8 NOT NULL, `id_category` INT(11) UNSIGNED NOT NULL DEFAULT '1', `id_theme` INT(1) UNSIGNED NOT NULL, `active` tinyint(1) NOT NULL DEFAULT '1', `deleted` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id_shop`), KEY `id_group_shop` (`id_group_shop`), KEY `id_category` (`id_category`), KEY `id_theme` (`id_theme`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_shop` (`id_shop`, `id_group_shop`, `name`, `id_category`, `id_theme`, `active`, `deleted`) VALUES (1, 1, (SELECT value FROM `ps_configuration` WHERE name = 'PS_SHOP_NAME'), 1, 1, 1, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_configuration` ADD `id_group_shop` INT(11) UNSIGNED DEFAULT NULL AFTER `id_configuration` , ADD `id_shop` INT(11) UNSIGNED DEFAULT NULL AFTER `id_group_shop`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_configuration` DROP INDEX `name` , ADD INDEX `name` ( `name` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_configuration` ADD INDEX (`id_group_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_configuration` ADD INDEX (`id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`id_configuration`, `name`, `value`, `date_add`, `date_upd`) VALUES (NULL, 'PS_SHOP_DEFAULT', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_shop_url` ( `id_shop_url` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_shop` int(11) unsigned NOT NULL, `domain` varchar(255) NOT NULL, `domain_ssl` varchar(255) NOT NULL, `physical_uri` varchar(64) NOT NULL, `virtual_uri` varchar(64) NOT NULL, `main` TINYINT(1) NOT NULL, `active` TINYINT(1) NOT NULL, PRIMARY KEY (`id_shop_url`), KEY `id_shop` (`id_shop`), UNIQUE KEY `shop_url` (`domain`, `virtual_uri`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_theme` ( `id_theme` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(64) NOT NULL, PRIMARY KEY (`id_theme`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_theme` (`id_theme`, `name`) VALUES (1, 'prestashop')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_theme_specific` ( `id_theme` int(11) unsigned NOT NULL, `id_shop` INT(11) UNSIGNED NOT NULL, `entity` int(11) unsigned NOT NULL, `id_object` int(11) unsigned NOT NULL, PRIMARY KEY (`id_theme`,`id_shop`, `entity`,`id_object`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_stock` ( `id_stock` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT, `id_product` INT( 11 ) UNSIGNED NOT NULL, `id_product_attribute` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT(11) UNSIGNED NOT NULL, `quantity` INT(11) NOT NULL, PRIMARY KEY (`id_stock`), KEY `id_product` (`id_product`), KEY `id_product_attribute` (`id_product_attribute`), KEY `id_shop` (`id_shop`), UNIQUE KEY `product_stock` (`id_product` ,`id_product_attribute` ,`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_stock` (id_product, id_product_attribute, id_shop, quantity) (SELECT id_product, id_product_attribute, 1, quantity FROM ps_product_attribute)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_stock` (id_product, id_product_attribute, id_shop, quantity) (SELECT id_product, 0, 1, IF( (SELECT COUNT(*) FROM ps_product_attribute pa WHERE p.id_product = pa.id_product) > 0, (SELECT SUM(pa2.quantity) FROM ps_product_attribute pa2 WHERE p.id_product = pa2.id_product), quantity ) FROM ps_product p)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE ps_stock_mvt ADD id_stock INT UNSIGNED NOT NULL AFTER id_stock_mvt
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
UPDATE ps_stock_mvt sm SET sm.id_stock = IFNULL(( SELECT IFNULL(s.id_stock, 0) FROM ps_stock s WHERE s.id_product = sm.id_product AND s.id_product_attribute = sm.id_product_attribute ORDER BY s.id_shop LIMIT 1 ), 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ DELETE FROM ps_stock_mvt WHERE id_stock = 0 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE ps_stock_mvt DROP id_product, DROP id_product_attribute
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_country_shop` ( `id_country` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_country`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_country_shop` (id_shop, id_country) (SELECT 1, id_country FROM ps_country)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_carrier_shop` ( `id_carrier` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_carrier`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_carrier_shop` (id_shop, id_carrier) (SELECT 1, id_carrier FROM ps_carrier)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ /* PHP:upgrade_cms_15(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_lang_shop` ( `id_lang` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_lang`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_lang_shop` (id_shop, id_lang) (SELECT 1, id_lang FROM ps_lang)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_currency_shop` ( `id_currency` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_currency`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_currency_shop` (id_shop, id_currency) (SELECT 1, id_currency FROM ps_currency)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` ADD `id_group_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_cart` , ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_group_shop`, ADD INDEX `id_group_shop` (`id_group_shop`), ADD INDEX `id_shop` (`id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` ADD `id_group_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_customer` , ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_group_shop`, ADD INDEX `id_group_shop` (`id_group_shop`), ADD INDEX `id_shop` (`id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `id_group_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_order` , ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_group_shop`, ADD INDEX `id_group_shop` (`id_group_shop`), ADD INDEX `id_shop` (`id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer_thread` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_customer_thread`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer_thread` ADD INDEX `id_shop` (`id_shop`), ADD INDEX `id_lang` (`id_lang`), ADD INDEX `id_contact` (`id_contact`), ADD INDEX `id_customer` (`id_customer`), ADD INDEX `id_order` (`id_order`), ADD INDEX `id_product` (`id_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer_message` ADD INDEX `id_employee` (`id_employee`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_meta_lang` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_meta`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_meta_lang` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_meta`, `id_shop`, `id_lang`), ADD INDEX `id_shop` (`id_shop`), ADD INDEX `id_lang` (`id_lang`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_contact_shop` ( `id_contact` INT(11) UNSIGNED NOT NULL, `id_shop` INT(11) UNSIGNED NOT NULL, PRIMARY KEY (`id_contact`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_contact_shop` (id_shop, id_contact) (SELECT 1, id_contact FROM `ps_contact`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_image_shop` ( `id_image` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_image`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_image_shop` (id_shop, id_image) (SELECT 1, id_image FROM `ps_image`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_attribute_group_shop` ( `id_attribute` INT(11) UNSIGNED NOT NULL, `id_group_shop` INT(11) UNSIGNED NOT NULL, PRIMARY KEY (`id_attribute`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_attribute_group_shop` (id_group_shop, id_attribute) (SELECT 1, id_attribute FROM `ps_attribute`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_feature_group_shop` ( `id_feature` INT(11) UNSIGNED NOT NULL, `id_group_shop` INT(11) UNSIGNED NOT NULL , PRIMARY KEY (`id_feature`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_feature_group_shop` (id_group_shop, id_feature) (SELECT 1, id_feature FROM `ps_feature`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_group_group_shop` ( `id_group` INT( 11 ) UNSIGNED NOT NULL, `id_group_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_group`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_group_group_shop` (id_group_shop, id_group) (SELECT 1, id_group FROM `ps_group`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_attribute_group_group_shop` ( `id_attribute_group` INT( 11 ) UNSIGNED NOT NULL , `id_group_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_attribute_group`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_attribute_group_group_shop` (id_group_shop, id_attribute_group) (SELECT 1, id_attribute_group FROM `ps_attribute_group`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_tax_rules_group_group_shop` ( `id_tax_rules_group` INT( 11 ) UNSIGNED NOT NULL, `id_group_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_tax_rules_group`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tax_rules_group_group_shop` (`id_tax_rules_group`, `id_group_shop`) (SELECT `id_tax_rules_group`, 1 FROM `ps_tax_rules_group`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_zone_group_shop` ( `id_zone` INT( 11 ) UNSIGNED NOT NULL , `id_group_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_zone`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_zone_group_shop` (id_group_shop, id_zone) (SELECT 1, id_zone FROM `ps_zone`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_manufacturer_group_shop` ( `id_manufacturer` INT( 11 ) UNSIGNED NOT NULL , `id_group_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_manufacturer`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_manufacturer_group_shop` (id_group_shop, id_manufacturer) (SELECT 1, id_manufacturer FROM `ps_manufacturer`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_supplier_group_shop` ( `id_supplier` INT( 11 ) UNSIGNED NOT NULL, `id_group_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_supplier`, `id_group_shop`), KEY `id_group_shop` (`id_group_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_supplier_group_shop` (id_group_shop, id_supplier) (SELECT 1, id_supplier FROM `ps_supplier`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_store_shop` ( `id_store` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_store`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_store_shop` (id_shop, id_store) (SELECT 1, id_store FROM `ps_store`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_product_shop` ( `id_product` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY ( `id_shop` , `id_product` ), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_product_shop` (id_shop, id_product) (SELECT 1, id_product FROM `ps_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category_lang` ADD `id_shop` INT( 11 ) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_category`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category_lang` ADD UNIQUE KEY( `id_category`, `id_shop`, `id_lang`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_lang` ADD `id_shop` INT( 11 ) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_product`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_lang` ADD UNIQUE KEY ( `id_product`, `id_shop` , `id_lang`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` CHANGE `id_shop` `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_hook_module` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_hook`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_hook_module` DROP PRIMARY KEY ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_hook_module` ADD PRIMARY KEY (`id_module`,`id_hook`,`id_shop` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_hook_module_exceptions` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_hook`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_connections` ADD `id_group_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1', ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_page_viewed` ADD `id_group_shop` INT UNSIGNED NOT NULL DEFAULT '1' AFTER `id_page`, ADD `id_shop` INT UNSIGNED NOT NULL DEFAULT '1' AFTER `id_group_shop`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_page_viewed` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_page`, `id_date_range`, `id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_module_shop` ( `id_module` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_module` , `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_module_shop` (`id_module`, `id_shop`) (SELECT `id_module`, 1 FROM `ps_module`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module_currency` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_module`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_module_currency` DROP PRIMARY KEY ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module_currency` ADD PRIMARY KEY (`id_module`, `id_shop`, `id_currency`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module_country` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_module`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_module_country` DROP PRIMARY KEY ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module_country` ADD PRIMARY KEY (`id_module`, `id_shop`, `id_country`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module_group` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_module`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_module_group` DROP PRIMARY KEY ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module_group` ADD PRIMARY KEY (`id_module`, `id_shop`, `id_group`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier_lang` ADD `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1' AFTER `id_carrier`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ /* PHP:add_id_shop_to_shipper_lang_index(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_search_word` ADD `id_shop` INT(11) NOT NULL DEFAULT '1' AFTER `id_word`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_search_word` DROP INDEX `id_lang`, ADD UNIQUE `id_lang` (`id_lang`,`id_shop`,`word`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_referrer_shop` ( `id_referrer` int(10) unsigned NOT NULL auto_increment, `id_shop` int(10) unsigned NOT NULL default '1', `cache_visitors` int(11) default NULL, `cache_visits` int(11) default NULL, `cache_pages` int(11) default NULL, `cache_registrations` int(11) default NULL, `cache_orders` int(11) default NULL, `cache_sales` decimal(17,2) default NULL, `cache_reg_rate` decimal(5,4) default NULL, `cache_order_rate` decimal(5,4) default NULL, PRIMARY KEY (`id_referrer`, `id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_referrer_shop` (`id_referrer`, `id_shop`) SELECT `id_referrer`, 1 FROM `ps_referrer`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_referrer` DROP `cache_visitors`, DROP `cache_visits`, DROP `cache_pages`, DROP `cache_registrations`, DROP `cache_orders`, DROP `cache_sales`, DROP `cache_reg_rate`, DROP `cache_order_rate`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_product` ADD `id_shop` INT NOT NULL DEFAULT '1' AFTER `id_product`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customization` ADD `in_cart` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_scene_shop` ( `id_scene` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_scene`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_scene_shop` (id_shop, id_scene) (SELECT 1, id_scene FROM ps_scene)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_delivery` ADD `id_shop` INT UNSIGNED NULL DEFAULT NULL AFTER `id_delivery`, ADD `id_group_shop` INT UNSIGNED NULL DEFAULT NULL AFTER `id_shop`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[ /* PHP:create_multistore(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_customization` INNER JOIN `ps_orders` USING(id_cart) SET in_cart = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_module_access` ( `id_profile` int(10) unsigned NOT NULL, `id_module` int(10) unsigned NOT NULL, `view` tinyint(1) NOT NULL, `configure` tinyint(1) NOT NULL, PRIMARY KEY (`id_profile`,`id_module`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* Create SuperAdmin */ UPDATE `ps_profile_lang` SET `name` = 'SuperAdmin' WHERE `id_profile` = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_accounting_zone_shop` ( `id_accounting_zone_shop` int(11) NOT NULL AUTO_INCREMENT, `id_zone` int(11) NOT NULL, `id_shop` int(11) NOT NULL, `account_number` varchar(64) NOT NULL, PRIMARY KEY (`id_accounting_zone_shop`), UNIQUE KEY `id_zone` (`id_zone`,`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_accounting_product_zone_shop` ( `id_accounting_product_zone_shop` int(11) NOT NULL AUTO_INCREMENT, `id_product` int(11) NOT NULL, `id_shop` int(11) NOT NULL, `id_zone` int(11) NOT NULL, `account_number` varchar(64) NOT NULL, PRIMARY KEY (`id_accounting_product_zone_shop`), UNIQUE KEY `id_product` (`id_product`,`id_shop`,`id_zone`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:add_accounting_tab(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_module_access` (`id_profile`, `id_module`, `configure`, `view`) ( SELECT `id_profile`, `id_module`, 0, 1 FROM `ps_access` a, ps_module m WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` WHERE `class_name` != "" LIMIT 1) AND a.`view` = 0 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_module_access` (`id_profile`, `id_module`, `configure`, `view`) ( SELECT `id_profile`, `id_module`, 1, 1 FROM `ps_access` a, ps_module m WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` WHERE `class_name` != "" LIMIT 1) AND a.`view` = 1 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name` = 'AdminThemes' WHERE `class_name` = 'AdminAppearance'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook` ( `name` , `title` , `description` , `position` , `live_edit` ) VALUES ('taxmanager', 'taxmanager', NULL , '1', '0')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD `zipcode_from` INT NOT NULL AFTER `id_state` , ADD `zipcode_to` INT NOT NULL AFTER `zipcode_from` , ADD `behavior` INT NOT NULL AFTER `zipcode_to`, ADD `description` VARCHAR( 100 ) NOT NULL AFTER `id_tax`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tax_rule` (`id_tax_rules_group`, `id_country`, `id_state`, `id_tax`, `behavior`, `zipcode_from`, `zipcode_to`, `id_county`, `description`, `state_behavior`, `county_behavior`) SELECT r.`id_tax_rules_group`, r.`id_country`, r.`id_state`, r.`id_tax`, 0, z.`from_zip_code`, z.`to_zip_code`, r.`id_county`, r.`description`, r.`state_behavior`, r.county_behavior FROM `ps_tax_rule` r INNER JOIN `ps_county_zip_code` z ON (z.`id_county` = r.`id_county`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tax_rule` SET `behavior` = GREATEST(`state_behavior`, `county_behavior`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tax_rule` WHERE `id_county` != 0 AND `zipcode_from` = 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` DROP `id_county`, DROP `state_behavior`, DROP `county_behavior`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:remove_tab(AdminCounty); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_county_zip_code` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_county` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `id_last_order` tinyint(1) unsigned NOT NULL default '0', ADD `id_last_customer_message` tinyint(1) unsigned NOT NULL default '0', ADD `id_last_customer` tinyint(1) unsigned NOT NULL default '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_SHOW_NEW_ORDERS', '1', NOW(), NOW()), ('PS_SHOW_NEW_CUSTOMERS', '1', NOW(), NOW()), ('PS_SHOW_NEW_MESSAGES', '1', NOW(), NOW()), ('PS_FEATURE_FEATURE_ACTIVE', '1', NOW(), NOW()), ('PS_COMBINATION_FEATURE_ACTIVE', '1', NOW(), NOW()), ('PS_ADMINREFRESH_NOTIFICATION', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:update_feature_detachable_cache(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `available_date` DATE NOT NULL AFTER `available_for_order`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` ADD `available_date` DATE NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* Index was only used by deprecated function Image::positionImage() */ ALTER TABLE `ps_image` DROP INDEX `product_position`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_gender` ( `id_gender` int(11) NOT NULL AUTO_INCREMENT, `type` tinyint(1) NOT NULL, PRIMARY KEY (`id_gender`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_gender_lang` ( `id_gender` int(10) unsigned NOT NULL, `id_lang` int(10) unsigned NOT NULL, `name` varchar(20) NOT NULL, PRIMARY KEY (`id_gender`,`id_lang`), KEY `id_gender` (`id_gender`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_gender` (`id_gender`, `type`) VALUES (1, 0), (2, 1), (3, 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_gender_lang` (`id_gender`, `id_lang`, `name`) VALUES (1, 1, 'Mr.'), (1, 2, 'M.'), (1, 3, 'Sr.'), (1, 4, 'Herr'), (1, 5, 'Sig.'), (2, 1, 'Ms.'), (2, 2, 'Mme'), (2, 3, 'Sra.'), (2, 4, 'Frau'), (2, 5, 'Sig.ra'), (3, 1, 'Miss'), (3, 2, 'Mlle'), (3, 3, 'Miss'), (3, 4, 'Miss'), (3, 5, 'Miss')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE `name` = 'PS_FORCE_SMARTY_2'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_order_detail_tax` ( `id_order_detail` INT NOT NULL , `id_tax` INT NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax` ADD `deleted` INT NOT NULL AFTER `active`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:update_order_detail_taxes(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_customer_message_sync_imap` ( `md5_header` varbinary(32) NOT NULL, KEY `md5_header_index` (`md5_header`(4)) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer_message` ADD `private` TINYINT NOT NULL DEFAULT '0' AFTER `user_agent`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminGenders, fr:Genres|es:Genders|en:Genders|de:Genders|it:Genders, 2); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attribute` ADD `position` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:add_attribute_position(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_download` CHANGE `date_deposit` `date_add` DATETIME NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_download` CHANGE `physically_filename` `filename` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_download` ADD `id_product_attribute` INT( 10 ) UNSIGNED NOT NULL AFTER `id_product` , ADD INDEX ( `id_product_attribute` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_download` ADD `is_shareable` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `active`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attribute_group` ADD `position` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attribute_group` ADD `group_type` ENUM('select', 'radio', 'color') NOT NULL DEFAULT 'select'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_attribute_group` SET `group_type`='color' WHERE `is_color_group` = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_product` DROP `id_color_default` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:add_group_attribute_position(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_feature` ADD `position` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:add_feature_position(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_request_sql` ( `id_request_sql` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(200) NOT NULL, `sql` text NOT NULL, PRIMARY KEY (`id_request_sql`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminRequestSql, fr:SQL Manager|es:SQL Manager|en:SQL Manager|de:Wunsh|it:SQL Manager, 9); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD COLUMN `id_reference` int(10) NOT NULL AFTER `id_carrier`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ UPDATE `ps_carrier` SET id_reference = id_carrier ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `is_virtual` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `cache_has_attachments`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminProducts, fr:Produits|es:Productos|en:Products|de:Produkten|it:Prodotti, 1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminCategories, fr:Catégories|es:Categoria|en:Categories|de:Kategorien|it:Categories, 1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_employee_shop` ( `id_employee` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY ( `id_employee` , `id_shop` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_employee_shop` (`id_employee`, `id_shop`) (SELECT `id_employee`, 1 FROM `ps_employee`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = 0, `add` = 0, `edit` = 0, `delete` = 0 WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminShop' LIMIT 1) AND `id_profile` != 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD `position` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:add_carrier_position(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_state` ADD COLUMN `shipped` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0 AFTER `delivery`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state` SET `shipped` = 1 WHERE id_order_state IN (4, 5)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_order_invoice` ( `id_order_invoice` int(11) NOT NULL AUTO_INCREMENT, `id_order` int(11) NOT NULL, `number` int(11) NOT NULL, `total_discount_tax_excl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_discount_tax_incl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_paid_tax_excl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_paid_tax_incl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_products` decimal(17,2) NOT NULL DEFAULT '0.00', `total_products_wt` decimal(17,2) NOT NULL DEFAULT '0.00', `total_shipping_tax_excl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_shipping_tax_incl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_wrapping_tax_excl` decimal(17,2) NOT NULL DEFAULT '0.00', `total_wrapping_tax_incl` decimal(17,2) NOT NULL DEFAULT '0.00', `date_add` datetime NOT NULL, PRIMARY KEY (`id_order_invoice`), KEY `id_order` (`id_order`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` ADD `id_order_invoice` int(11) NOT NULL DEFAULT 0 AFTER `id_order`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_payment_cc` CHANGE `id_payment_cc` `id_order_payment` INT NOT NULL auto_increment
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_payment_cc` ADD `id_order_invoice` varchar(255) NOT NULL AFTER `id_order_payment`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_payment_cc` ADD `payment_method` varchar(255) NOT NULL AFTER `amount`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_payment_cc` ADD `conversion_rate` decimal(13,6) NOT NULL DEFAULT 1 AFTER `payment_method`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ RENAME TABLE `ps_payment_cc` TO `ps_order_payment` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` ADD COLUMN `max_width` int(10) DEFAULT 0 AFTER `position`, ADD COLUMN `max_height` int(10) DEFAULT 0 AFTER `max_width`, ADD COLUMN `max_depth` int(10) DEFAULT 0 AFTER `max_height`, ADD COLUMN `max_weight` int(10) DEFAULT 0 AFTER `max_depth`, ADD COLUMN `grade` int(10) DEFAULT 0 AFTER `max_weight`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_product` ADD COLUMN `id_address_delivery` int(10) UNSIGNED DEFAULT 0 AFTER `date_add`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_cart_product` SET id_address_delivery = 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` ADD COLUMN `allow_seperated_package` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0 AFTER `gift_message`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_product_carrier` ( `id_product` int(10) unsigned NOT NULL, `id_carrier_reference` int(10) unsigned NOT NULL, `id_shop` int(10) unsigned NOT NULL, PRIMARY KEY (`id_product`, `id_carrier_reference`, `id_shop`) ) ENGINE = MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customization` ADD COLUMN `id_address_delivery` int(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `id_product_attribute`, DROP PRIMARY KEY, ADD PRIMARY KEY (`id_customization`, `id_cart`, `id_product`, `id_address_delivery`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule` ( `id_cart_rule` int(10) unsigned NOT NULL auto_increment, `id_customer` int unsigned NOT NULL default 0, `date_from` datetime NOT NULL, `date_to` datetime NOT NULL, `description` text, `quantity` int(10) unsigned NOT NULL default 0, `quantity_per_user` int(10) unsigned NOT NULL default 0, `priority` int(10) unsigned NOT NULL default 1, `code` varchar(254) NOT NULL, `minimum_amount` decimal(17,2) NOT NULL default 0, `minimum_amount_tax` tinyint(1) NOT NULL default 0, `minimum_amount_currency` int unsigned NOT NULL default 0, `minimum_amount_shipping` tinyint(1) NOT NULL default 0, `country_restriction` tinyint(1) unsigned NOT NULL default 0, `carrier_restriction` tinyint(1) unsigned NOT NULL default 0, `group_restriction` tinyint(1) unsigned NOT NULL default 0, `cart_rule_restriction` tinyint(1) unsigned NOT NULL default 0, `product_restriction` tinyint(1) unsigned NOT NULL default 0, `free_shipping` tinyint(1) NOT NULL default 0, `reduction_percent` decimal(5,2) NOT NULL default 0, `reduction_amount` decimal(17,2) NOT NULL default 0, `reduction_tax` tinyint(1) unsigned NOT NULL default 0, `reduction_currency` int(10) unsigned NOT NULL default 0, `reduction_product` int(10) NOT NULL default 0, `gift_product` int(10) unsigned NOT NULL default 0, `active` tinyint(1) unsigned NOT NULL default 0, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_cart_rule`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_country` ( `id_cart_rule` int(10) unsigned NOT NULL, `id_country` int(10) unsigned NOT NULL, PRIMARY KEY (`id_cart_rule`, `id_country`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_group` ( `id_cart_rule` int(10) unsigned NOT NULL, `id_group` int(10) unsigned NOT NULL, PRIMARY KEY (`id_cart_rule`, `id_group`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_carrier` ( `id_cart_rule` int(10) unsigned NOT NULL, `id_carrier` int(10) unsigned NOT NULL, PRIMARY KEY (`id_cart_rule`, `id_carrier`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_combination` ( `id_cart_rule_1` int(10) unsigned NOT NULL, `id_cart_rule_2` int(10) unsigned NOT NULL, PRIMARY KEY (`id_cart_rule_1`, `id_cart_rule_2`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_product_rule` ( `id_product_rule` int(10) unsigned NOT NULL auto_increment, `id_cart_rule` int(10) unsigned NOT NULL, `quantity` int(10) unsigned NOT NULL default 1, `type` ENUM('products', 'categories', 'attributes') NOT NULL, PRIMARY KEY (`id_product_rule`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
SET @id_currency_default = (SELECT value FROM `ps_configuration` WHERE name = 'PS_CURRENCY_DEFAULT' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cart_rule` ( `id_cart_rule`, `id_customer`, `date_from`, `date_to`, `description`, `quantity`, `quantity_per_user`, `priority`, `code`, `minimum_amount`, `minimum_amount_tax`, `minimum_amount_currency`, `minimum_amount_shipping`, `country_restriction`, `carrier_restriction`, `group_restriction`, `cart_rule_restriction`, `product_restriction`, `free_shipping`, `reduction_percent`, `reduction_amount`, `reduction_tax`, `reduction_currency`, `reduction_product`, `gift_product`, `active`, `date_add`, `date_upd` ) ( SELECT `id_discount`, `id_customer`, `date_from`, `date_to`, `name`, `quantity`, `quantity_per_user`, 1, `name`, `minimal`, 1, @id_currency_default, 1, 0, 0, IF(id_group = 0, 0, 1), IF(cumulable = 1, 0, 1), 0, IF(id_discount_type = 3, 1, 0), IF(id_discount_type = 1, value, 0), IF(id_discount_type = 2, value, 0), 1, `id_currency`, 0, 0, `active`, `date_add`, `date_upd` FROM `ps_discount` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
RENAME TABLE `ps_discount_lang` TO `ps_cart_rule_lang`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule_lang` CHANGE `id_discount` `id_cart_rule` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule_lang` CHANGE `description` `name` varchar(254) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
RENAME TABLE `ps_discount_category` TO `ps_cart_rule_product_rule_value`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule_product_rule_value` CHANGE `id_category` `id_item` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule_product_rule_value` CHANGE `id_discount` `id_product_rule` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cart_rule_product_rule` (`id_product_rule`, `id_cart_rule`, `quantity`, `type`) ( SELECT DISTINCT `id_product_rule`, `id_product_rule`, 1, 'categories' FROM `ps_cart_rule_product_rule_value` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_cart_rule` SET product_restriction = 1 WHERE `id_cart_rule` IN (SELECT `id_cart_rule` FROM `ps_cart_rule_product_rule`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_discount` CHANGE `id_discount` `id_cart_rule` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_discount` CHANGE `id_discount` `id_cart_rule` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_discount` CHANGE `id_order_discount` `id_order_cart_rule` int(10) unsigned NOT NULL AUTO_INCREMENT
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
RENAME TABLE `ps_order_discount` TO `ps_order_cart_rule`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
RENAME TABLE `ps_cart_discount` TO `ps_cart_cart_rule`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) ( SELECT 'PS_CART_RULE_FEATURE_ACTIVE', `value`, NOW(), NOW() FROM `ps_configuration` WHERE `name` = 'PS_DISCOUNT_FEATURE_ACTIVE' LIMIT 1 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET class_name = 'AdminCartRules' WHERE class_name = 'AdminDiscounts'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayPayment' WHERE `name` = 'payment'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionValidateOrder' WHERE `name` = 'newOrder'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionPaymentConfirmation' WHERE `name` = 'paymentConfirm'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayPaymentReturn' WHERE `name` = 'paymentReturn'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionUpdateQuantity' WHERE `name` = 'updateQuantity'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayRightColumn' WHERE `name` = 'rightColumn'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayLeftColumn' WHERE `name` = 'leftColumn'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayHome' WHERE `name` = 'home'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayHeader' WHERE `name` = 'header'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCartSave' WHERE `name` = 'cart'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAuthentication' WHERE `name` = 'authentication'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductAdd' WHERE `name` = 'addproduct'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductUpdate' WHERE `name` = 'updateproduct'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayTop' WHERE `name` = 'top'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayRightColumnProduct' WHERE `name` = 'extraRight'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductDelete' WHERE `name` = 'deleteproduct'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayFooterProduct' WHERE `name` = 'productfooter'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayInvoice' WHERE `name` = 'invoice'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionOrderStatusUpdate' WHERE `name` = 'updateOrderStatus'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAdminOrder' WHERE `name` = 'adminOrder'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayFooter' WHERE `name` = 'footer'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayPDFInvoice' WHERE `name` = 'PDFInvoice'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAdminCustomers' WHERE `name` = 'adminCustomers'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayOrderConfirmation' WHERE `name` = 'orderConfirmation'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCustomerAccountAdd' WHERE `name` = 'createAccount'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayCustomerAccount' WHERE `name` = 'customerAccount'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionOrderSlipAdd' WHERE `name` = 'orderSlip'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayProductTab' WHERE `name` = 'productTab'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayProductTabContent' WHERE `name` = 'productTabContent'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayShoppingCartFooter' WHERE `name` = 'shoppingCart'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayCustomerAccountForm' WHERE `name` = 'createAccountForm'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAdminStatsModules' WHERE `name` = 'AdminStatsModules'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAdminStatsGraphEngine' WHERE `name` = 'GraphEngine'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionOrderReturn' WHERE `name` = 'orderReturn'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayProductButtons' WHERE `name` = 'productActions'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayBackOfficeHome' WHERE `name` = 'backOfficeHome'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAdminStatsGridEngine' WHERE `name` = 'GridEngine'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionWatermark' WHERE `name` = 'watermark'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductCancel' WHERE `name` = 'cancelProduct'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayLeftColumnProduct' WHERE `name` = 'extraLeft'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductOutOfStock' WHERE `name` = 'productOutOfStock'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductAttributeUpdate' WHERE `name` = 'updateProductAttribute'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayCarrierList' WHERE `name` = 'extraCarrier'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayShoppingCart' WHERE `name` = 'shoppingCartExtra'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionSearch' WHERE `name` = 'search'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayBeforePayment' WHERE `name` = 'backBeforePayment'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCarrierUpdate' WHERE `name` = 'updateCarrier'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionOrderStatusPostUpdate' WHERE `name` = 'postUpdateOrderStatus'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayCustomerAccountFormTop' WHERE `name` = 'createAccountTop'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayBackOfficeHeader' WHERE `name` = 'backOfficeHeader'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayBackOfficeTop' WHERE `name` = 'backOfficeTop'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayBackOfficeFooter' WHERE `name` = 'backOfficeFooter'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductAttributeDelete' WHERE `name` = 'deleteProductAttribute'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCarrierProcess' WHERE `name` = 'processCarrier'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionOrderDetail' WHERE `name` = 'orderDetail'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayBeforeCarrier' WHERE `name` = 'beforeCarrier'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayOrderDetail' WHERE `name` = 'orderDetailDisplayed'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionPaymentCCAdd' WHERE `name` = 'paymentCCAdded'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayProductComparison' WHERE `name` = 'extraProductComparison'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCategoryAdd' WHERE `name` = 'categoryAddition'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCategoryUpdate' WHERE `name` = 'categoryUpdate'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionCategoryDelete' WHERE `name` = 'categoryDeletion'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionBeforeAuthentication' WHERE `name` = 'beforeAuthentication'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayPaymentTop' WHERE `name` = 'paymentTop'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionHtaccessCreate' WHERE `name` = 'afterCreateHtaccess'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAdminMetaSave' WHERE `name` = 'afterSaveAdminMeta'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAttributeGroupForm' WHERE `name` = 'attributeGroupForm'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAttributeGroupSave' WHERE `name` = 'afterSaveAttributeGroup'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAttributeGroupDelete' WHERE `name` = 'afterDeleteAttributeGroup'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayFeatureForm' WHERE `name` = 'featureForm'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionFeatureSave' WHERE `name` = 'afterSaveFeature'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionFeatureDelete' WHERE `name` = 'afterDeleteFeature'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductSave' WHERE `name` = 'afterSaveProduct'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionProductListOverride' WHERE `name` = 'productListAssign'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAttributeGroupPostProcess' WHERE `name` = 'postProcessAttributeGroup'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayFeaturePostProcess' WHERE `name` = 'postProcessFeature'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayFeatureValueForm' WHERE `name` = 'featureValueForm'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayFeatureValuePostProcess' WHERE `name` = 'postProcessFeatureValue'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionFeatureValueDelete' WHERE `name` = 'afterDeleteFeatureValue'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionFeatureValueSave' WHERE `name` = 'afterSaveFeatureValue'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'displayAttributeForm' WHERE `name` = 'attributeForm'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAttributePostProcess' WHERE `name` = 'postProcessAttribute'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAttributeDelete' WHERE `name` = 'afterDeleteAttribute'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionAttributeSave' WHERE `name` = 'afterSaveAttribute'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_hook` SET `name` = 'actionTaxManager' WHERE `name` = 'taxManager'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail_tax` ADD `unit_amount` DECIMAL(16, 6) NOT NULL AFTER `id_tax`, ADD `total_amount` DECIMAL(16, 6) NOT NULL AFTER `unit_amount`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD `id_product_attribute` INT UNSIGNED NOT NULL AFTER `id_product`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` DROP INDEX `id_product`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD INDEX `id_product` (`id_product`, `id_product_attribute`, `id_shop`, `id_currency`, `id_country`, `id_group`, `from_quantity`, `from`, `to`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_column_orders_reference_if_not_exists(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD COLUMN `id_warehouse` int(10) unsigned DEFAULT 0 AFTER `id_carrier`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` ADD COLUMN `order_reference` varchar(9) AFTER `id_cart`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` ADD COLUMN `delivery_option` varchar(100) AFTER `id_carrier`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax` ADD COLUMN `account_number` VARCHAR(64) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminAttributeGenerator, fr:Générateur de déclinaisons|es:Combinations generator|en:Combinations generator|de:Combinations generator|it:Combinations generator, -1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminCMSCategories, fr:Catégories CMS|es:CMS categories|en:CMS categories|de:CMS categories|it:CMS categories, -1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminCMS, fr:Pages CMS|es:CMS pages|en:CMS pages|de:CMS pages|it:CMS pages, -1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_quick_access` SET `link` = 'index.php?controller=AdminCategories&addcategory' WHERE `id_quick_access` = 3
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_quick_access` SET `link` = 'index.php?controller=AdminProducts&addproduct' WHERE `id_quick_access` = 4
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminCmsCategories' LIMIT 1) AND `id_profile` = '3'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminCmsCategories' LIMIT 1) AND `id_profile` = '5'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminCms' LIMIT 1) AND `id_profile` = '3'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminCms' LIMIT 1) AND `id_profile` = '5'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_CUSTOMER_GROUP', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ /* PHP:add_new_groups('Visiteur', 'Visitor'); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
/* PHP:add_new_groups('Invité', 'Guest'); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[ UPDATE `ps_employee` SET `bo_theme` = 'default' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name` = 'AdminCmsContent' WHERE `class_name` = 'AdminCMSContent'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name` = 'AdminCms' WHERE `class_name` = 'AdminCMS'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name` = 'AdminCmsCategories' WHERE `class_name` = 'AdminCMSCategories'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name` = 'AdminPdf' WHERE `class_name` = 'AdminPDF'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_order_carrier` ( `id_order_carrier` int(11) NOT NULL AUTO_INCREMENT, `id_order` int(11) unsigned NOT NULL, `id_carrier` int(11) unsigned NOT NULL, `id_order_invoice` int(11) unsigned DEFAULT NULL, `weight` float DEFAULT NULL, `shipping_cost_tax_excl` decimal(20,6) DEFAULT NULL, `shipping_cost_tax_incl` decimal(20,6) DEFAULT NULL, `tracking_number` varchar(64) DEFAULT NULL, `date_add` datetime NOT NULL, PRIMARY KEY (`id_order_carrier`), KEY `id_order` (`id_order`), KEY `id_carrier` (`id_carrier`), KEY `id_order_invoice` (`id_order_invoice`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip` ADD COLUMN `amount` DECIMAL(10,2) NOT NULL AFTER `shipping_cost`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip` ADD COLUMN `shipping_cost_amount` DECIMAL(10,2) NOT NULL AFTER `amount`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip` ADD COLUMN `partial` TINYINT(1) NOT NULL AFTER `shipping_cost_amount`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip_detail` ADD COLUMN `amount` DECIMAL(10,2) NOT NULL AFTER `product_quantity`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tab` (`id_parent`, `class_name`, `position`) VALUES (-1, 'AdminLogin', 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_hook_alias` ( `id_hook_alias` int(10) unsigned NOT NULL auto_increment, `alias` varchar(64) NOT NULL, `name` varchar(64) NOT NULL, PRIMARY KEY (`id_hook_alias`), UNIQUE KEY `alias` (`alias`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.1">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook_alias` (`id_hook_alias`, `name`, `alias`) VALUES (1, 'displayPayment', 'payment'), (2, 'actionValidateOrder', 'newOrder'), (3, 'actionPaymentConfirmation', 'paymentConfirm'), (4, 'displayPaymentReturn', 'paymentReturn'), (5, 'actionUpdateQuantity', 'updateQuantity'), (6, 'displa
]]>
<![CDATA[
yRightColumn', 'rightColumn'), (7, 'displayLeftColumn', 'leftColumn'), (8, 'displayHome', 'home'), (9, 'displayHeader', 'header'), (10, 'actionCartSave', 'cart'), (11, 'actionAuthentication', 'authentication'), (12, 'actionProductAdd', 'addproduct'), (13, 'actionProductUpdate', 'updateproduct'), (14, 'displayTop', 'top'), (15, 'displayRightColumnProduct', 'extraRight'), (16, 'actionProductDelete', 'deleteproduct'), (17, 'displayFooterProduct', 'productfooter'), (18, 'displayInvoice', 'invoice'), (19, 'actionOrderStatusUpdate', 'updateOrderStatus'), (20, 'displayAdminOrder', 'adminOrder'), (21, 'displayFooter', 'footer'), (22, 'displayPDFInvoice', 'PDFInvoice'), (23, 'displayAdminCustomers', 'adminCustomers'), (24, 'displayOrderConfirmation', 'orderConfirmation'), (25, 'actionCustomerAccountAdd', 'createAccount'), (26, 'displayCustomerAccount', 'customerAccount'), (27, 'actionOrderSlipAdd', 'orderSlip'), (28, 'displayProductTab', 'productTab'), (29, 'displayProductTabContent', 'productTabContent'), (30, 'displayShoppingCartFooter', 'shoppingCart'), (31, 'displayCustomerAccountForm', 'createAccountForm'), (32, 'displayAdminStatsModules', 'AdminStatsModules'), (33, 'displayAdminStatsGraphEngine', 'GraphEngine'), (34, 'actionOrderReturn', 'orderReturn'), (35, 'displayProductButtons', 'productActions'), (36, 'displayBackOfficeHome', 'backOfficeHome'), (37, 'displayAdminStatsGridEngine', 'GridEngine'), (38, 'actionWatermark', 'watermark'), (39, 'actionProductCancel', 'cancelProduct'), (40, 'displayLeftColumnProduct', 'extraLeft'), (41, 'actionProductOutOfStock', 'productOutOfStock'), (42, 'actionProductAttributeUpdate', 'updateProductAttribute'), (43, 'displayCarrierList', 'extraCarrier'), (44, 'displayShoppingCart', 'shoppingCartExtra'), (45, 'actionSearch', 'search'), (46, 'displayBeforePayment', 'backBeforePayment'), (47, 'actionCarrierUpdate', 'updateCarrier'), (48, 'actionOrderStatusPostUpdate', 'postUpdateOrderStatus'), (49, 'displayCustomerAccountFormTop', 'createAccountTop'), (50, 'displayBackOfficeHeader', 'backOfficeHeader'), (51, 'displayBackOfficeTop', 'backOfficeTop'), (52, 'displayBackOfficeFooter', 'backOfficeFooter'), (53, 'actionProductAttributeDelete', 'deleteProductAttribute'), (54, 'actionCarrierProcess', 'processCarrier'), (55, 'actionOrderDetail', 'orderDetail'), (56, 'displayBeforeCarrier', 'beforeCarrier'), (57, 'displayOrderDetail', 'orderDetailDisplayed'), (58, 'actionPaymentCCAdd', 'paymentCCAdded'), (59, 'displayProductComparison', 'extraProductComparison'), (60, 'actionCategoryAdd', 'categoryAddition'), (61, 'actionCategoryUpdate', 'categoryUpdate'), (62, 'actionCategoryDelete', 'categoryDeletion'), (63, 'actionBeforeAuthentication', 'beforeAuthentication'), (64, 'displayPaymentTop', 'paymentTop'), (65, 'actionHtaccessCreate', 'afterCreateHtaccess'), (66, 'actionAdminMetaSave', 'afterSaveAdminMeta'), (67, 'displayAttributeGroupForm', 'attributeGroupForm'), (68, 'actionAttributeGroupSave', 'afterSaveAttributeGroup'), (69, 'actionAttributeGroupDelete', 'afterDeleteAttributeGroup'), (70, 'displayFeatureForm', 'featureForm'), (71, 'actionFeatureSave', 'afterSaveFeature'), (72, 'actionFeatureDelete', 'afterDeleteFeature'), (73, 'actionProductSave', 'afterSaveProduct'), (74, 'actionProductListOverride', 'productListAssign'), (75, 'displayAttributeGroupPostProcess', 'postProcessAttributeGroup'), (76, 'displayFeaturePostProcess', 'postProcessFeature'), (77, 'displayFeatureValueForm', 'featureValueForm'), (78, 'displayFeatureValuePostProcess', 'postProcessFeatureValue'), (79, 'actionFeatureValueDelete', 'afterDeleteFeatureValue'), (80, 'actionFeatureValueSave', 'afterSaveFeatureValue'), (81, 'displayAttributeForm', 'attributeForm'), (82, 'actionAttributePostProcess', 'postProcessAttribute'), (83, 'actionAttributeDelete', 'afterDeleteAttribute'), (84, 'actionAttributeSave', 'afterSaveAttribute'), (85, 'actionTaxManager', 'taxManager')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ DELETE FROM `ps_tab` WHERE `id_tab` = 59 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` = 59 AND `id_lang` = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` = 59 AND `id_lang` = 2
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` = 59 AND `id_lang` = 3
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` = 59 AND `id_lang` = 4
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` = 59 AND `id_lang` = 5
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_module` ADD `version` VARCHAR( 8 ) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_specific_price_rule` ( `id_specific_price_rule` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL, `id_shop` int(11) unsigned NOT NULL DEFAULT '1', `id_currency` int(10) unsigned NOT NULL, `id_country` int(10) unsigned NOT NULL, `id_group` int(10) unsigned NOT NULL, `from_quantity` mediumint(8) unsigned NOT NULL, `price` DECIMAL(20,6), `reduction` decimal(20,6) NOT NULL, `reduction_type` enum('amount','percentage') NOT NULL, `from` datetime NOT NULL, `to` datetime NOT NULL, PRIMARY KEY (`id_specific_price_rule`), KEY `id_product` (`id_shop`,`id_currency`,`id_country`,`id_group`,`from_quantity`,`from`,`to`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_specific_price_rule_condition_group` ( `id_specific_price_rule_condition_group` INT(11) UNSIGNED NOT NULL, `id_specific_price_rule` INT(11) UNSIGNED NOT NULL, PRIMARY KEY ( `id_specific_price_rule_condition_group`, `id_specific_price_rule` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_specific_price_rule_condition` ( `id_specific_price_rule_condition` INT(11) UNSIGNED NOT NULL, `id_specific_price_rule_condition_group` INT(11) UNSIGNED NOT NULL, `type` VARCHAR(255) NOT NULL, `value` VARCHAR(255) NOT NULL, PRIMARY KEY (`id_specific_price_rule_condition`), INDEX (`id_specific_price_rule_condition_group`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD `id_specific_price_rule` INT(11) UNSIGNED NOT NULL AFTER `id_specific_price`, ADD INDEX (`id_specific_price_rule`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminSpecificPriceRule, es:Catalog price rules|it:Catalog price rules|en:Catalog price rules|de:Catalog price rules|fr:Règles de prix catalogue, 1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_invoice` ADD `note` TEXT NOT NULL AFTER `total_wrapping_tax_incl`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* ORDER STATES */ ALTER TABLE `ps_order_state` ADD `paid` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `shipped`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state` SET `paid` = 1 WHERE `id_order_state` IN (2, 3, 4, 5, 9, 12)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* SPECIFIC PRICE */ ALTER TABLE `ps_specific_price` ADD `id_customer` INT UNSIGNED NOT NULL AFTER `id_group`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` DROP INDEX `id_product` , ADD INDEX `id_product` (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `id_customer`, `from_quantity`, `from`, `to`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/************************ * STOCK MANAGEMENT *************************/ /* PHP:add_stock_tab(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '1' WHERE `id_profile` = 5 AND `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminStock' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminSupplyOrders' LIMIT 1) AND `id_profile` = '4'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminSupplyOrders' LIMIT 1) AND `id_profile` = '5'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminStockConfiguration' LIMIT 1) AND `id_profile` = '4'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_access` SET `view` = '0', `add` = '0', `edit` = '0', `delete` = '0' WHERE `id_tab` = (SELECT `id_tab` FROM `ps_tab` t WHERE t.`class_name` = 'AdminStockConfiguration' LIMIT 1) AND `id_profile` = '5'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* New tables */ CREATE TABLE IF NOT EXISTS `ps_product_supplier` ( `id_product_supplier` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_product` int(11) unsigned NOT NULL, `id_product_attribute` int(11) unsigned NOT NULL DEFAULT '0', `id_supplier` int(11) unsigned NOT NULL, `product_supplier_reference` varchar(32) DEFAULT NULL, `product_supplier_price_te` decimal(20,6) NOT NULL DEFAULT '0.000000', `id_currency` int(11) unsigned NOT NULL, PRIMARY KEY (`id_product_supplier`), UNIQUE KEY `id_product` (`id_product`,`id_product_attribute`,`id_supplier`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_stock_available` ( `id_stock_available` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_product` int(11) unsigned NOT NULL, `id_product_attribute` int(11) unsigned NOT NULL, `id_shop` int(11) unsigned NOT NULL, `id_group_shop` int(11) unsigned NOT NULL, `quan
]]>
<![CDATA[
tity` int(10) NOT NULL DEFAULT '0', `depends_on_stock` tinyint(1) unsigned NOT NULL DEFAULT '0', `out_of_stock` int(2) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id_stock_available`), KEY `id_shop` (`id_shop`), KEY `id_group_shop` (`id_group_shop`), KEY `id_product` (`id_product`), KEY `id_product_attribute` (`id_product_attribute`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_supply_order` ( `id_supply_order` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_supplier` int(11) unsigned NOT NULL, `supplier_name` varchar(64) NOT NULL, `id_lang` int(11) unsigned NOT NULL, `id_warehouse` int(11) unsigned NOT NULL, `id_supply_order_state` int(11) unsigned NOT NULL, `id_currency` int(11) unsigned NOT NULL, `id_ref_currency` int(11) unsigned NOT NULL, `reference` varchar(32) NOT NULL, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, `date_delivery_expected` datetime DEFAULT NULL, `total_te` decimal(20,6) DEFAULT '0.000000', `total_with_discount_te` decimal(20,6) DEFAULT '0.000000', `total_tax` decimal(20,6) DEFAULT '0.000000', `total_ti` decimal(20,6) DEFAULT '0.000000', `discount_rate` decimal(20,6) DEFAULT '0.000000', `discount_value_te` decimal(20,6) DEFAULT '0.000000', `is_template` tinyint(1) DEFAULT '0', PRIMARY KEY (`id_supply_order`), KEY `id_supplier` (`id_supplier`), KEY `id_warehouse` (`id_warehouse`), KEY `reference` (`reference`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_supply_order_detail` ( `id_supply_order_detail` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_supply_order` int(11) unsigned NOT NULL, `id_currency` int(11) unsigned NOT NULL, `id_product` int(11) unsigned NOT NULL, `id_product_attribute` int(11) unsigned NOT NULL, `reference` varchar(32) NOT NULL, `supplier_reference` varchar(32) NOT NULL, `name` varchar(128) NOT NULL, `ean13` varchar(13) DEFAULT NULL, `upc` varchar(12) DEFAULT NULL, `exchange_rate` decimal(20,6) DEFAULT '0.000000', `unit_price_te` decimal(20,6) DEFAULT '0.000000', `quantity_expected` int(11) unsigned NOT NULL, `quantity_received` int(11) unsigned NOT NULL, `price_te` decimal(20,6) DEFAULT '0.000000', `discount_rate` decimal(20,6) DEFAULT '0.000000', `discount_value_te` decimal(20,6) DEFAULT '0.000000', `price_with_discount_te` decimal(20,6) DEFAULT '0.000000', `tax_rate` decimal(20,6) DEFAULT '0.000000', `tax_value` decimal(20,6) DEFAULT '0.000000', `price_ti` decimal(20,6) DEFAULT '0.000000', `tax_value_with_order_discount` decimal(20,6) DEFAULT '0.000000', `price_with_order_discount_te` decimal(20,6) DEFAULT '0.000000', PRIMARY KEY (`id_supply_order_detail`), KEY `id_supply_order` (`id_supply_order`), KEY `id_product` (`id_product`), KEY `id_product_attribute` (`id_product_attribute`), KEY `id_product_product_attribute` (`id_product`,`id_product_attribute`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_supply_order_history` ( `id_supply_order_history` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_supply_order` int(11) unsigned NOT NULL, `id_employee` int(11) unsigned NOT NULL, `employee_lastname` varchar(32) DEFAULT '', `employee_firstname` varchar(32) DEFAULT '', `id_state` int(11) unsigned NOT NULL, `date_add` datetime NOT NULL, PRIMARY KEY (`id_supply_order_history`), KEY `id_supply_order` (`id_supply_order`), KEY `id_employee` (`id_employee`), KEY `id_state` (`id_state`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_supply_order_receipt_history` ( `id_supply_order_receipt_history` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_supply_order_detail` int(11) unsigned NOT NULL, `id_employee` int(11) unsigned NOT NULL, `employee_lastname` varchar(32) DEFAULT '', `employee_firstname` varchar(32) DEFAULT '', `id_supply_order_state` int(11) unsigned NOT NULL, `quantity` int(11) unsigned NOT NULL, `date_add` datetime NOT NULL, PRIMARY KEY (`id_supply_order_receipt_history`), KEY `id_supply_order_detail` (`id_supply_order_detail`), KEY `id_supply_order_state` (`id_supply_order_state`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_supply_order_state` ( `id_supply_order_state` int(11) unsigned NOT NULL AUTO_INCREMENT, `delivery_note` tinyint(1) NOT NULL DEFAULT '0', `editable` tinyint(1) NOT NULL DEFAULT '0', `receipt_state` tinyint(1) NOT NULL DEFAULT '0', `pending_receipt` tinyint(1) NOT NULL DEFAULT '0', `enclosed` tinyint(1) NOT NULL DEFAULT '0', `color` varchar(32) DEFAULT NULL, PRIMARY KEY (`id_supply_order_state`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_supply_order_state_lang` ( `id_supply_order_state` int(11) unsigned NOT NULL, `id_lang` int(11) unsigned NOT NULL, `name` varchar(128) DEFAULT NULL, PRIMARY KEY (`id_supply_order_state`,`id_lang`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_warehouse` ( `id_warehouse` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_currency` int(11) unsigned NOT NULL, `id_address` int(11) unsigned NOT NULL, `id_employee` int(11) unsigned NOT NULL, `reference` varchar(32) DEFAULT NULL, `name` varchar(45) NOT NULL, `management_type` enum('WA','FIFO','LIFO') NOT NULL DEFAULT 'WA', `deleted` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id_warehouse`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_warehouse_carrier` ( `id_carrier` int(11) unsigned NOT NULL, `id_warehouse` int(11) unsigned NOT NULL, PRIMARY KEY (`id_warehouse`,`id_carrier`), KEY `id_warehouse` (`id_warehouse`), KEY `id_carrier` (`id_carrier`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_warehouse_product_location` ( `id_warehouse_product_location` int(11) unsigned NOT NULL AUTO_INCREMENT, `id_product` int(11) unsigned NOT NULL, `id_product_attribute` int(11) unsigned NOT NULL, `id_warehouse` int(11) unsigned NOT NULL, `location` varchar(64) DEFAULT NULL, PRIMARY KEY (`id_warehouse_product_location`), UNIQUE KEY `id_product` (`id_product`,`id_product_attribute`,`id_warehouse`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_warehouse_shop` ( `id_shop` int(11) unsigned NOT NULL, `id_warehouse` int(11) unsigned NOT NULL, PRIMARY KEY (`id_warehouse`,`id_shop`), KEY `id_warehouse` (`id_warehouse`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* Update records before alter tables */ /* PHP:set_stock_available(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ /* PHP:set_product_suppliers(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* Update tables */ DROP TABLE IF EXISTS `ps_stock`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_stock` ( `id_stock` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `id_warehouse` INT(11) UNSIGNED NOT NULL, `id_product` INT(11) UNSIGNED NOT NULL, `id_product_attribute` INT(11) UNSIGNED NOT NULL, `reference` VARCHAR(32) NOT NULL, `ean13` VARCHAR(13) DEFAULT NULL, `upc` VARCHAR(12) DEFAULT NULL, `physical_quantity` INT(11) UNSIGNED NOT NULL, `usable_quantity` INT(11) UNSIGNED NOT NULL, `price_te` DECIMAL(20,6) DEFAULT '0.000000', PRIMARY KEY (`id_stock`), KEY `id_warehouse` (`id_warehouse`), KEY `id_product` (`id_product`), KEY `id_product_attribute` (`id_product_attribute`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ DROP TABLE IF EXISTS `ps_stock_mvt` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_stock_mvt` ( `id_stock_mvt` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `id_stock` INT(11) UNSIGNED NOT NULL, `id_order` INT(11) UNSIGNED DEFAULT NULL, `id_supply_order` INT(11) UNSIGNED DEFAULT NULL, `id_stock_mvt_reason` INT(11) UNSIGNED NOT NULL, `id_employee` INT(11) UNSIGNED NOT NULL, `employee_lastname` varchar(32) DEFAULT '', `employee_firstname` varchar(32) DEFAULT '', `physical_quantity` INT(11) UNSIGNED NOT NULL, `date_add` DATETIME NOT NULL, `sign` tinyint(1) NOT NULL DEFAULT 1, `price_te` DECIMAL(20,6) DEFAULT '0.000000', `last_wa` DECIMAL(20,6) DEFAULT '0.000000', `current_wa` DECIMAL(20,6) DEFAULT '0.000000', `referer` bigint UNSIGNED DEFAULT NULL, PRIMARY KEY (`id_stock_mvt`), KEY `id_stock` (`id_stock`), KEY `id_stock_mvt_reason` (`id_stock_mvt_reason`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_orders` DROP COLUMN `id_warehouse` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_supplier` ADD COLUMN `id_address` int(10) unsigned NOT NULL default '0' AFTER `id_supplier`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` ADD COLUMN `id_warehouse` int(10) unsigned NOT NULL DEFAULT 0 AFTER `id_supplier`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` ADD COLUMN `id_warehouse` int(10) unsigned NOT NULL default '0' AFTER `id_order_invoice`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_mvt_reason` ADD COLUMN `deleted` tinyint(1) unsigned NOT NULL default '0' AFTER `date_upd`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD COLUMN `advanced_stock_management` tinyint(1) default '0' NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* Update records after alter tables */ /* PHP:update_stock_mvt_reason(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE `name` = 'PS_PDF_ENCODING'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE `name` = 'PS_PDF_FONT'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` ADD `reduction_amount_tax_incl` DECIMAL( 20, 6 ) NOT NULL AFTER `reduction_amount` , ADD `reduction_amount_tax_excl` DECIMAL( 20, 6 ) NOT NULL AFTER `reduction_amount_tax_incl`, ADD `total_price_tax_incl` DECIMAL(20, 6) NOT NULL AFTER `download_deadline`, ADD `total_price_tax_excl` DECIMAL(20, 6) NOT NULL AFTER `total_price_tax_incl`, ADD `unit_price_tax_incl` DECIMAL(20, 6) NOT NULL AFTER `total_price_tax_excl`, ADD `unit_price_tax_excl` DECIMAL(20, 6) NOT NULL AFTER `unit_price_tax_incl`, ADD `total_shipping_price_tax_incl` DECIMAL(20, 6) NOT NULL AFTER `unit_price_tax_excl`, ADD `total_shipping_price_tax_excl` DECIMAL(20, 6) NOT NULL AFTER `total_shipping_price_tax_incl`, ADD `purchase_supplier_price` DECIMAL(20, 6) NOT NULL AFTER `total_shipping_price_tax_excl`, ADD `original_product_price` DECIMAL(20, 6) NOT NULL AFTER `purchase_supplier_price`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `total_discounts_tax_excl` decimal(17,2) NOT NULL AFTER `total_discounts`, ADD `total_discounts_tax_incl` decimal(17,2) NOT NULL AFTER `total_discounts_tax_excl`, ADD `total_paid_tax_excl` decimal(17,2) NOT NULL AFTER `total_paid`, ADD `total_paid_tax_incl` decimal(17,2) NOT NULL AFTER `total_paid_tax_excl`, ADD `total_shipping_tax_excl` decimal(17,2) NOT NULL AFTER `total_shipping`, ADD `total_shipping_tax_incl` decimal(17,2) NOT NULL AFTER `total_shipping_tax_excl`, ADD `total_wrapping_tax_excl` decimal(17,2) NOT NULL AFTER `total_wrapping`, ADD `total_wrapping_tax_incl` decimal(17,2) NOT NULL AFTER `total_wrapping_tax_excl`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_cart_rule` ADD `value_tax_excl` DECIMAL(17, 2) NOT NULL DEFAULT '0.00'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_cart_rule` ADD `id_order_invoice` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `id_cart_rule`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD `id_group_shop` INT(11) UNSIGNED NOT NULL AFTER `id_shop`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
/* Generate order references */ UPDATE `ps_orders` SET `reference` = id_order
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` ADD `tax_computation_method` tinyint(1) unsigned NOT NULL default '0' AFTER `product_weight`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ /* PHP:migrate_orders(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_invoice` ADD `delivery_number` int(0) NOT NULL DEFAULT '0' AFTER `number`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_invoice` ADD `delivery_date` datetime AFTER `delivery_number`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_order_invoice` (`id_order`, `number`, `total_discount_tax_excl`, `total_discount_tax_incl`, `total_paid_tax_excl`, `total_paid_tax_incl`, `total_products`, `total_products_wt`, `total_shipping_tax_excl`, `total_shipping_tax_incl`, `total_wrapping_tax_excl`, `total_wrapping_tax_incl`, `note`, `date_add`) ( SELECT `id_order`, `invoice_number`, `total_discounts_tax_excl`, `total_discounts_tax_incl`, `total_paid_tax_excl`, `total_paid_tax_incl`, `total_products`, `total_products_wt`, `total_shipping_tax_excl`, `total_shipping_tax_incl`, `total_wrapping_tax_excl`, `total_wrapping_tax_incl`, '', `invoice_date` FROM `ps_orders` WHERE `invoice_number` != 0 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tab` ADD `active` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_detail` od SET od.`id_order_invoice` = ( SELECT oi.`id_order_invoice` FROM `ps_order_invoice` oi WHERE oi.`id_order` = od.`id_order` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_order_carrier` (`id_order`, `id_carrier`, `id_order_invoice`, `weight`, `shipping_cost_tax_excl`, `shipping_cost_tax_incl`, `tracking_number`, `date_add`) ( SELECT `id_order`, `id_carrier`, ( SELECT oi.`id_order_invoice` FROM `ps_order_invoice` oi WHERE oi.`id_order` = o.`id_order` ), ( SELECT SUM(`product_weight`) FROM `ps_order_detail` od WHERE od.`id_order` = o.`id_order` ), `total_shipping_tax_excl`, `total_shipping_tax_incl`, `shipping_number`, `date_add` FROM `ps_orders` o )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
INSERT IGNORE INTO `ps_order_payment` (`id_order_invoice`, `id_order`, `id_currency`, `amount`, `payment_method`, `conversion_rate`, `date_add`) ( SELECT ( SELECT oi.`id_order_invoice` FROM `ps_order_invoice` oi WHERE oi.`id_order` = o.`id_order` ), o.`id_order`, o.`id_currency`, o.`total_paid_real`, o.`payment`, o.`conversion_rate`, o.`date_add` FROM `ps_orders` o LEFT JOIN `ps_order_payment` op ON (op.`id_order` = o.`id_order`) WHERE op.`id_order_payment` IS NULL )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_SMARTY_CONSOLE', '0', NOW(), NOW()),('PS_INVOICE_MODEL', 'invoice', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD `id_cart` INT(11) UNSIGNED NOT NULL AFTER `id_specific_price_rule`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD INDEX `id_cart` (`id_cart`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ /* PHP:update_modules_multishop(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `position` = ( SELECT `position` FROM ( SELECT MAX(`position`)+1 as `position` FROM `ps_tab` WHERE `id_parent` = 0 ) tmp ) WHERE `class_name` = 'AdminStock'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `position` = ( SELECT `position` FROM ( SELECT MAX(`position`)+1 as `position` FROM `ps_tab` WHERE `id_parent` = 0 ) tmp ) WHERE `class_name` = 'AdminAccounting'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip_detail` CHANGE `amount` `amount_tax_excl` DECIMAL( 10, 2 ) default NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_slip_detail` ADD COLUMN `amount_tax_incl` DECIMAL(10,2) default NULL AFTER `amount_tax_excl`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ /* PHP:drop_image_type_non_unique_index(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image_type` ADD `id_theme` INT(11) NOT NULL AFTER `id_image_type`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image_type` ADD UNIQUE (`id_theme` ,`name`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[ UPDATE `ps_image_type` SET `id_theme`=1 ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_webservice_account_shop` ( `id_webservice_account` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_webservice_account` , `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.2">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_group` ADD `show_prices` tinyint(1) unsigned NOT NULL DEFAULT '1' AFTER `price_display_method`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.3">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_theme` ADD COLUMN directory varchar(64) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.3">
<sqlQuery>
<![CDATA[ UPDATE `ps_theme` SET directory = name ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.3">
<sqlQuery>
<![CDATA[
/* Supply Order modification as of 1.5.0.3 */ ALTER TABLE `ps_supply_order` DROP INDEX `reference`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.3">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_supply_order` ADD UNIQUE (`reference`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
/* PHP:add_column_order_state_deleted_if_not_exists(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD COLUMN `is_root_category` tinyint(1) NOT NULL default '0' AFTER `position`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
UPDATE `ps_category` SET `is_root_category` = 1 WHERE `id_category` = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_image_type` DROP `id_theme` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price_rule_condition` CHANGE `id_specific_price_rule_condition` `id_specific_price_rule_condition` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price_rule_condition_group` CHANGE `id_specific_price_rule_condition_group` `id_specific_price_rule_condition_group` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
UPDATE `ps_supply_order_state_lang` SET `name` = "order canceled" WHERE `name` = "order fenced" AND (`id_lang` = 1 OR `id_lang` = 3 OR `id_lang` = 4 OR `id_lang` = 5)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
UPDATE `ps_supply_order_state_lang` SET `name` = "Commande cloturée" WHERE `name` = "order fenced" AND id_lang = 2
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_category_shop` ( `id_category` int(11) NOT NULL, `id_shop` int(11) NOT NULL, PRIMARY KEY (`id_category`, `id_shop`), UNIQUE KEY `id_category_shop` (`id_category`,`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[ /* PHP:generate_root_category_for_multishop(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[ /* PHP:update_mailalerts_add_column_idshop(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_product_rule_group` ( `id_product_rule_group` int(10) unsigned NOT NULL auto_increment, `id_cart_rule` int(10) unsigned NOT NULL, `quantity` int(10) unsigned NOT NULL default 1, PRIMARY KEY (`id_product_rule_group`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_cart_rule_product_rule_group` (`id_product_rule_group`, `id_cart_rule`, `quantity`) ( SELECT `id_cart_rule`, `id_cart_rule`, `quantity` FROM `ps_cart_rule_product_rule` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule_product_rule` CHANGE `id_cart_rule` `id_product_rule_group` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule_product_rule` CHANGE `type` `type` ENUM('products', 'categories', 'attributes', 'manufacturers', 'suppliers') NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule` ADD `partial_use` tinyint(1) unsigned NOT NULL default 0 AFTER `priority`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.4">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `current_state` int(10) unsigned NOT NULL default 0 AFTER `id_address_invoice`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.5">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule` ADD `shop_restriction` tinyint(1) unsigned NOT NULL default 0 AFTER `product_restriction`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.5">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_cart_rule_shop` ( `id_cart_rule` int(10) unsigned NOT NULL, `id_shop` int(10) unsigned NOT NULL, PRIMARY KEY (`id_cart_rule`, `id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.5">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration`(`id_group_shop`, `id_shop`, `name`, `value`, `date_add`, `date_upd`) VALUES (NULL, NULL, 'PS_LOGO', 'logo.jpg', NOw(), NOW()), (NULL, NULL, 'PS_LOGO_MAIL', 'logo_mail.jpg', NOw(), NOW()), (NULL, NULL, 'PS_LOGO_INVOICE', 'logo_invoice.jpg', NOW(), NOW()), (NULL, NULL, 'PS_FAVICON', 'favicon.jpg', NOW(), NOW()), (NULL, NULL, 'PS_STORES_ICON', 'logo_stores.gif', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.5">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_module_preference` ( `id_module_preference` int(11) NOT NULL auto_increment, `id_employee` int(11) NOT NULL, `module` varchar(255) NOT NULL, `interest` tinyint(1) default NULL, `favorite` tinyint(1) default NULL, PRIMARY KEY (`id_module_preference`), UNIQUE KEY `employ
]]>
<![CDATA[
ee_module` (`id_employee`, `module`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.5">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category_shop` ADD `position` int(10) unsigned NOT NULL default 0 AFTER `id_shop`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.6">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.6">
<sqlQuery>
<![CDATA[
UPDATE `ps_orders` o SET o.`current_state` = ( SELECT oh.`id_order_state` FROM `ps_order_history` oh WHERE oh.`id_order` = o.`id_order` ORDER BY oh.`date_add` DESC LIMIT 1 )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[ /* PHP:add_unknown_gender(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule` ADD `gift_product_attribute` int(10) unsigned NOT NULL default 0 AFTER `gift_product`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
UPDATE `ps_product` set is_virtual = 1 WHERE id_product IN (SELECT id_product FROM `ps_product_download` WHERE active = 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_shop` ADD `id_category_default` int(11) UNSIGNED DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `bo_width` int(10) unsigned NOT NULL DEFAULT 0 AFTER `bo_theme`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_product_tax_rules_group_shop` ( `id_product` int(11) UNSIGNED NOT NULL, `id_tax_rules_group` int(11) UNSIGNED NOT NULL, `id_shop` int(11) UNSIGNED NOT NULL, PRIMARY KEY ( `id_product`, `id_tax_rules_group`, `id_shop` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_product_tax_rules_group_shop` (`id_product`, `id_tax_rules_group`, `id_shop`) (SELECT `id_product`, `id_tax_rules_group`, `id_shop` FROM `ps_product`, `ps_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_product` DROP `id_tax_rules_group` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_carrier_tax_rules_group_shop` ( `id_carrier` int(11) unsigned NOT NULL, `id_tax_rules_group` int(11) unsigned NOT NULL, `id_shop` int(11) unsigned NOT NULL, PRIMARY KEY (`id_carrier`, `id_tax_rules_group`, `id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_carrier_tax_rules_group_shop` (`id_carrier`, `id_tax_rules_group`, `id_shop`) (SELECT `id_carrier`, `id_tax_rules_group`, `id_shop` FROM `ps_carrier`, `ps_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_carrier` DROP `id_tax_rules_group` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` ADD `account_number` VARCHAR(128) NULL AFTER `birthday`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[ /* PHP:fix_unique_specific_price(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` DROP INDEX `id_product`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD INDEX (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `id_customer`, `from_quantity`, `from`, `to`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD UNIQUE (`id_product`,`id_shop`,`id_group_shop`,`id_currency`,`id_country`,`id_group`,`id_customer`,`id_product_attribute`,`from_quantity`,`from`,`to`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.7">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` ADD INDEX (`id_cart`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.8">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.8">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `visibility` ENUM('both', 'catalog', 'search', 'none') NOT NULL default 'both' AFTER `indexed`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.8">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_accounting_export` ( `id_accounting_export` int(11) NOT NULL AUTO_INCREMENT, `begin_to` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `end_to` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `type` int(11) NOT NULL, `file` varchar(256) NOT NULL, `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_accounting_export`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.9">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.9">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` MODIFY COLUMN `id_last_order` INT(10) UNSIGNED NOT NULL DEFAULT 0, MODIFY COLUMN `id_last_customer_message` INT(10) UNSIGNED NOT NULL DEFAULT 0, MODIFY COLUMN `id_last_customer` INT(10) UNSIGNED NOT NULL DEFAULT 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.9">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_employee` ADD `default_tab` int(10) unsigned NOT NULL default 0 AFTER `bo_theme`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.9">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_subdomain` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.9">
<sqlQuery>
<![CDATA[ /* PHP:migrate_tabs_15(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.9">
<sqlQuery>
<![CDATA[ DROP TABLE IF EXISTS `ps_order_tax` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ /* PHP:module_blockwishlist_multishop(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
/* PHP:p15010_drop_column_id_address_if_exists(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta` SET `page` = 'contact' WHERE `page` = 'contact-form'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ RENAME TABLE `ps_group_shop` TO `ps_shop_group` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_shop_group` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_shop` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_available` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_configuration` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_connections` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_delivery` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_page_viewed` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_specific_price` CHANGE `id_group_shop` `id_shop_group` INT( 11 ) UNSIGNED NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `id_tax_rules_group` int(10) unsigned NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_product_shop_TMP` ( `id_product` int(10) unsigned NOT NULL, `id_shop` int(10) unsigned NOT NULL, `id_category_default` int(10) unsigned DEFAULT NULL, `id_tax_rules_group` INT(11) UNSIGNED NOT NULL, `on_sale` tinyint(1) unsigned NOT NULL DEFAULT '0', `online
]]>
<![CDATA[
_only` tinyint(1) unsigned NOT NULL DEFAULT '0', `ecotax` decimal(17,6) NOT NULL DEFAULT '0.000000', `minimal_quantity` int(10) unsigned NOT NULL DEFAULT '1', `price` decimal(20,6) NOT NULL DEFAULT '0.000000', `wholesale_price` decimal(20,6) NOT NULL DEFAULT '0.000000', `unity` varchar(255) DEFAULT NULL, `unit_price_ratio` decimal(20,6) NOT NULL DEFAULT '0.000000', `additional_shipping_cost` decimal(20,2) NOT NULL DEFAULT '0.00', `customizable` tinyint(2) NOT NULL DEFAULT '0', `text_fields` tinyint(4) NOT NULL DEFAULT '0', `active` tinyint(1) unsigned NOT NULL DEFAULT '0', `available_for_order` tinyint(1) NOT NULL DEFAULT '1', `available_date` date NOT NULL, `condition` enum('new','used','refurbished') NOT NULL DEFAULT 'new', `show_price` tinyint(1) NOT NULL DEFAULT '1', `indexed` tinyint(1) NOT NULL DEFAULT '0', `visibility` enum('both','catalog','search','none') NOT NULL DEFAULT 'both', `cache_default_attribute` int(10) unsigned DEFAULT NULL, `advanced_stock_management` tinyint(1) default '0' NOT NULL, `date_add` datetime NOT NULL, `date_upd` datetime NOT NULL, PRIMARY KEY (`id_product`, `id_shop`), KEY `id_category_default` (`id_category_default`), KEY `date_add` (`date_add`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_product_shop_TMP` (`id_product`, `id_shop`, `id_category_default`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `active`, `available_for_order`, `available_date`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `id_tax_rules_group`) (SELECT a.`id_product`, a.`id_shop`, b.`id_category_default`, b.`on_sale`, b.`online_only`, b.`ecotax`, b.`minimal_quantity`, b.`price`, b.`wholesale_price`, b.`unity`, b.`unit_price_ratio`, b.`additional_shipping_cost`, b.`customizable`, b.`text_fields`, b.`active`, b.`available_for_order`, b.`available_date`, b.`condition`, b.`show_price`, b.`indexed`, b.`visibility`, b.`cache_default_attribute`, b.`advanced_stock_management`, b.`date_add`, b.`date_upd`, c.`id_tax_rules_group` FROM `ps_product_shop` a INNER JOIN `ps_product` b ON a.id_product = b.id_product LEFT JOIN `ps_product_tax_rules_group_shop` c ON b.id_product = c.id_product AND a.id_shop = c.id_shop)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_product_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_product_tax_rules_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
RENAME TABLE `ps_product_shop_TMP` TO `ps_product_shop`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_product_attribute_shop` ( `id_product_attribute` int(10) unsigned NOT NULL, `id_shop` int(10) unsigned NOT NULL, `wholesale_price` decimal(20,6) NOT NULL default '0.000000', `price` decimal(20,6) NOT NULL default '0.000000', `ecotax` decimal(17,6) NOT NULL default '0.00',
]]>
<![CDATA[
`weight` float NOT NULL default '0', `unit_price_impact` decimal(17,2) NOT NULL default '0.00', `default_on` tinyint(1) unsigned NOT NULL default '0', `minimal_quantity` int(10) unsigned NOT NULL DEFAULT '1', `available_date` date NOT NULL, PRIMARY KEY (`id_product_attribute`, `id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_product_attribute_shop` (`id_product_attribute`, `id_shop`, `wholesale_price`, `price`, `ecotax`, `weight`, `unit_price_impact`, `default_on`, `minimal_quantity`, `available_date`) (SELECT `id_product_attribute`, (SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_SHOP_DEFAULT'), `wholesale_price`, `price`, `ecotax`, `weight`, `unit_price_impact`, `default_on`, `minimal_quantity`, `available_date` FROM `ps_product_attribute`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_attribute_shop` ( `id_attribute` INT(11) UNSIGNED NOT NULL, `id_shop` INT(11) UNSIGNED NOT NULL, PRIMARY KEY (`id_attribute`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_attribute_shop` (`id_attribute`, `id_shop`) (SELECT a.id_attribute, c.id_shop FROM ps_attribute_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_attribute_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_feature_shop` ( `id_feature` INT(11) UNSIGNED NOT NULL, `id_shop` INT(11) UNSIGNED NOT NULL , PRIMARY KEY (`id_feature`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_feature_shop` (`id_feature`, `id_shop`) (SELECT a.id_feature, c.id_shop FROM ps_feature_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_feature_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_group_shop` ( `id_group` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_group`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_group_shop` (`id_group`, `id_shop`) (SELECT a.id_group, c.id_shop FROM ps_group_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_group_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_attribute_group_shop` ( `id_attribute_group` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_attribute_group`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_attribute_group_shop` (`id_attribute_group`, `id_shop`) (SELECT a.id_attribute_group, c.id_shop FROM ps_attribute_group_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_attribute_group_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_tax_rules_group_shop` ( `id_tax_rules_group` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_tax_rules_group`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_tax_rules_group_shop` (`id_tax_rules_group`, `id_shop`) (SELECT a.id_tax_rules_group, c.id_shop FROM ps_tax_rules_group_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_tax_rules_group_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_zone_shop` ( `id_zone` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_zone`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_zone_shop` (`id_zone`, `id_shop`) (SELECT a.id_zone, c.id_shop FROM ps_zone_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_zone_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_manufacturer_shop` ( `id_manufacturer` INT( 11 ) UNSIGNED NOT NULL , `id_shop` INT( 11 ) UNSIGNED NOT NULL , PRIMARY KEY (`id_manufacturer`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_manufacturer_shop` (`id_manufacturer`, `id_shop`) (SELECT a.id_manufacturer, c.id_shop FROM ps_manufacturer_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_manufacturer_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_supplier_shop` ( `id_supplier` INT( 11 ) UNSIGNED NOT NULL, `id_shop` INT( 11 ) UNSIGNED NOT NULL, PRIMARY KEY (`id_supplier`, `id_shop`), KEY `id_shop` (`id_shop`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_supplier_shop` (`id_supplier`, `id_shop`) (SELECT a.id_supplier, c.id_shop FROM ps_supplier_group_shop a LEFT JOIN ps_shop_group b ON a.id_group_shop = b.id_shop_group INNER JOIN ps_shop c ON b.id_shop_group = c.id_shop_group)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_supplier_group_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.10">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_download` DROP COLUMN `id_product_attribute`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.11">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_state` CHANGE `iso_code` `iso_code` varchar(7) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_accounting_export` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_accounting_zone_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ DROP TABLE `ps_accounting_product_zone_shop` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_tax` DROP `account_number` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_customer` DROP `account_number` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` IN ( SELECT `id_tab` FROM `ps_tab` WHERE `class_name` LIKE('%Accounting%') )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab` WHERE `class_name` LIKE('%Accounting%')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:move_translations_module_file(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` CHANGE `zipcode_from` `zipcode_from` VARCHAR(12) NOT NULL, CHANGE `zipcode_to` `zipcode_to` VARCHAR(12) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
UPDATE ps_order_detail_tax odt LEFT JOIN ps_tax t ON (t.id_tax = odt.id_tax) SET unit_amount = IFNULL(ROUND((t.rate / 100) * ( SELECT od.unit_price_tax_excl - ( o.total_discounts_tax_excl * ( od.unit_price_tax_excl / o.total_products )) FROM ps_order_detail od LEFT JOIN ps_orders o ON ( o.id_order = od.id_order) WHERE odt.id_order_detail = od.id_order_detail ), 2), 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
UPDATE ps_order_detail_tax odt LEFT JOIN ps_order_detail od ON (od.id_order_detail = odt.id_order_detail) SET total_amount = IFNULL(odt.unit_amount * od.product_quantity, 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:add_missing_shop_column_pagenotfound(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:editorial_update_multishop(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:update_module_product_comments(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:add_missing_columns_customer(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_risk` ( `id_risk` int(11) NOT NULL AUTO_INCREMENT, `percent` tinyint(3) NOT NULL, `color` varchar(32) NULL, PRIMARY KEY (`id_risk`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_risk_lang` ( `id_risk` int(10) unsigned NOT NULL, `id_lang` int(10) unsigned NOT NULL, `name` varchar(20) NOT NULL, PRIMARY KEY (`id_risk`,`id_lang`), KEY `id_risk` (`id_risk`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab` SET `class_name`="AdminShopGroup" WHERE class_name="AdminGroupShop"
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:upgrade_cms_15_rename(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:migrate_tabs_multi_shop(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
/* PHP:add_default_restrictions_modules_groups(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[ /* PHP:p15012_add_missing_columns(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.12">
<sqlQuery>
<![CDATA[
UPDATE `ps_specific_price` SET `price` = -1 WHERE `price` = 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[ DROP TABLE IF EXISTS `ps_discount` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[ DROP TABLE IF EXISTS `ps_discount_type` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[ DROP TABLE IF EXISTS `ps_discount_type_lang` ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[ /* PHP:add_missing_image_key(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
-- Update order_payment structure for multishipping -- Step 1: Add the table ps_order_invoice_payment and populate it CREATE TABLE `ps_order_invoice_payment` ( `id_order_invoice` int(11) unsigned NOT NULL, `id_order_payment` int(11) unsigned NOT NULL, `id_order` int(11) unsigned NOT NULL, PRIMARY KEY (`id_order_invoice`,`id_order_payment`), KEY `order_payment` (`id_order_payment`), KEY `id_order` (`id_order`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_order_invoice_payment` (SELECT id_order_invoice, id_order_payment, id_order FROM `ps_order_payment` WHERE id_order_invoice > 0)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
-- Step 2: Add the collumn id_order_reference ALTER TABLE `ps_order_payment` ADD COLUMN `order_reference` VARCHAR(10) AFTER `id_order`, ADD INDEX `order_reference`(`order_reference`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
-- Step 3: Fill in id_order_reference and merge duplicate lines /* PHP:add_order_reference_in_order_payment(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
-- Step 4: Drop collumn id_order ALTER TABLE `ps_order_payment` DROP COLUMN `id_order`, DROP COLUMN `id_order_invoice`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
-- update for all employee the last ids for notifications UPDATE `ps_employee` SET `id_last_order`= (SELECT IFNULL(MAX(`id_order`), 0) FROM `ps_orders`), `id_last_customer_message`= (SELECT IFNULL(MAX(`id_customer_message`), 0) FROM `ps_customer_message`), `id_last_customer`= (SELECT IFNULL(MAX(`id_customer`), 0) FROM `ps_customer`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
UPDATE `ps_category_shop` cs SET `position` = (SELECT `position` FROM `ps_category` c WHERE cs.`id_category` = c.`id_category`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_available` CHANGE `out_of_stock` `out_of_stock` INT(2) UNSIGNED NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.13">
<sqlQuery>
<![CDATA[ /* PHP:p15013_add_missing_columns(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
/* PHP:p15014_copy_missing_images_tab_from_installer(); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[ /* PHP:p15014_add_missing_columns(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[ /* PHP:p15014_upgrade_sekeywords(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
UPDATE `ps_orders` SET `reference` = LPAD(reference, 9 , '0')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_hook_alias` (`name`, `alias`) VALUES ('displayMyAccountBlock', 'myAccountBlock')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
UPDATE `ps_image_type` SET height = 189, width = 520 WHERE name = 'large_scene'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
CREATE TABLE IF NOT EXISTS `ps_order_invoice_tax` ( `id_order_invoice` int(11) NOT NULL, `type` varchar(15) NOT NULL, `id_tax` int(11) NOT NULL, `amount` decimal(10,6) NOT NULL DEFAULT '0.000000' ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_invoice` ADD `shipping_tax_computation_method` INT NOT NULL AFTER `total_shipping_tax_incl`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.14">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_SEARCH_INDEXATION', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[ /* PHP:p15015_blockadvertising_extension(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_state` ADD `module_name` VARCHAR(255) NULL DEFAULT NULL AFTER `send_email`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state` SET `module_name` = 'cheque' WHERE `id_order_state` = (SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_OS_CHEQUE' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state` SET `module_name` = 'bankwire' WHERE `id_order_state` = (SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_OS_BANKWIRE' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_shop` ADD `uploadable_files` TINYINT NOT NULL DEFAULT 0 AFTER `customizable`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.15">
<sqlQuery>
<![CDATA[
UPDATE `ps_product_shop` product_shop SET `uploadable_files` = (SELECT uploadable_files FROM `ps_product` WHERE `id_product` = product_shop.`id_product`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[ /* PHP:p15016_add_missing_columns(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` ADD `id_shop` INT(11) UNSIGNED NOT NULL AFTER `id_warehouse`, ADD INDEX (`id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_detail` od SET `id_shop`=(SELECT `id_shop` FROM `ps_orders` WHERE `id_order`=od.`id_order`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab` WHERE `class_name` = 'AdminAddonsMyAccount'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_tab_lang` WHERE `id_tab` NOT IN (SELECT `id_tab` FROM `ps_tab`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_access` WHERE `id_tab` NOT IN (SELECT `id_tab` FROM `ps_tab`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[ UPDATE `ps_employee` SET bo_theme = 'default' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_tax_rule` ADD INDEX `category_getproducts` ( `id_tax_rules_group` , `id_country` , `id_state` , `zipcode_from` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_available` ADD INDEX `product_sqlstock` ( `id_product` , `id_product_attribute` , `id_shop` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `id_shop_default` int(10) unsigned NOT NULL default 1 AFTER `id_category_default`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_product` p SET `id_shop_default` = IFNULL((SELECT MIN(id_shop) FROM `ps_product_shop` ps WHERE ps.`id_product` = p.`id_product`), 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_category` ADD `id_shop_default` int(10) unsigned NOT NULL default 1 AFTER `id_parent`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.16">
<sqlQuery>
<![CDATA[
UPDATE `ps_category` c SET `id_shop_default` = IFNULL((SELECT MIN(id_shop) FROM `ps_category_shop` cs WHERE cs.`id_category` = c.`id_category`), 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail_tax` CHANGE `unit_amount` `unit_amount` DECIMAL(16, 6) NOT NULL DEFAULT '0.000000'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail_tax` CHANGE `total_amount` `total_amount` DECIMAL(16, 6) NOT NULL DEFAULT '0.000000'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer_message` ADD `read` tinyint(1) NOT NULL default '0' AFTER `private`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_ALLOW_MOBILE_DEVICE', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[ /* PHP:p15017_add_id_shop_to_primary_key(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[
UPDATE `ps_tab_lang` SET `name` = 'Menus' WHERE `name` = 'tabs' AND `id_tab` = (SELECT `id_tab` FROM `ps_tab` WHERE `class_name` = 'AdminTabs' LIMIT 1) AND `id_lang` IN (SELECT `id_lang` FROM `ps_lang` WHERE `iso_code` IN ('en','fr','es','de','it'))
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.0.17">
<sqlQuery>
<![CDATA[ /* PHP:clean_tabs_15(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[ /* PHP:image_shop1510(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_image_shop` DROP PRIMARY KEY ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image_shop` ADD INDEX (`id_image`, `id_shop`, `cover`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_image_shop` image_shop SET image_shop.`cover`=1 WHERE `id_image` IN (SELECT `id_image` FROM `ps_image` i WHERE i.`cover`=1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_ONE_PHONE_AT_LEAST', '1', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[ /* PHP:p15018_change_image_types(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` CHANGE `width` `width` DECIMAL(20, 6) NOT NULL DEFAULT '0', CHANGE `height` `height` DECIMAL(20, 6) NOT NULL DEFAULT '0', CHANGE `depth` `depth` DECIMAL(20, 6) NOT NULL DEFAULT '0', CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_attribute_shop` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_carrier` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_attribute_impact` CHANGE `weight` `weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_detail` CHANGE `product_weight` `product_weight` DECIMAL(20, 6) NOT NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_available` DROP INDEX `product_sqlstock`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_available` ADD UNIQUE `product_sqlstock` (`id_product`, `id_product_attribute`, `id_shop`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.1.0">
<sqlQuery>
<![CDATA[ ALTER TABLE `ps_cms` ADD INDEX (`id_cms_category`) ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.2.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.2.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` CHANGE `company` `company` VARCHAR(32) NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.2.0">
<sqlQuery>
<![CDATA[ /* PHP:fix_cms_shop_1520(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[ /* PHP:outstanding_allow_amount1530(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[ /* PHP:blocknewsletter1530(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[ /* PHP:block_category_1521(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[ /* PHP:update_order_messages(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state` SET `delivery` = 0 WHERE `id_order_state` = 3
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product_shop` ADD `id_product_redirected` int(10) unsigned NOT NULL default '0' AFTER `active`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_product` ADD `id_product_redirected` int(10) unsigned NOT NULL default '0' AFTER `active`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state` SET `send_email` = 1 WHERE `id_order_state` = (SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_OS_WS_PAYMENT' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_state_lang` SET `template` = 'payment' WHERE `id_order_state` = (SELECT `value` FROM `ps_configuration` WHERE `name` = 'PS_OS_WS_PAYMENT' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE `name`= 'PS_HIGH_HTML_THEME_COMPRESSION'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_MAIL_COLOR', '#db3484', NOW(), NOW())
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_cart_rule` CHANGE `name` `name` VARCHAR(254)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` CHANGE `delivery_option` `delivery_option` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_currency_shop` ADD `conversion_rate` DECIMAL( 13, 6 ) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_currency_shop` a SET `conversion_rate` = (SELECT `conversion_rate` FROM `ps_currency` b WHERE a.id_currency = b.id_currency)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
INSERT INTO `ps_configuration`(`name`, `value`, `id_shop`, `id_shop_group`, `date_add`, `date_upd`) (SELECT 'PS_GIFT_WRAPPING_TAX_RULES_GROUP', b.`id_tax_rules_group`, a.`id_shop`, a.`id_shop_group`, NOW(), NOW() FROM `ps_configuration` a JOIN `ps_tax_rule` b ON (a.value = b.id_tax) WHERE a.name='PS_GIFT_WRAPPING_TAX' GROUP BY a.`id_shop`, a.`id_shop_group` )
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
DELETE FROM `ps_configuration` WHERE name='PS_GIFT_WRAPPING_TAX'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart_rule` ADD `highlight` tinyint(1) unsigned NOT NULL default 0 AFTER `gift_product_attribute`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.1">
<sqlQuery>
<![CDATA[ /* PHP:p1531_redirect_type(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.3.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` CHANGE `delivery_option` `delivery_option` TEXT NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[ /* PHP:update_customer_default_group(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_meta` SET `page` = 'supplier' WHERE `page` = 'supply'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_image_type` CHANGE `name` `name` VARCHAR( 64 ) NOT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_customer` ADD `id_lang` INT UNSIGNED NULL AFTER `id_default_group`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_customer` SET id_lang = (SELECT `value` FROM `ps_configuration` WHERE name = 'PS_LANG_DEFAULT' LIMIT 1)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_customer` c, `ps_orders` o SET c.id_lang = o.id_lang WHERE c.id_customer = o.id_customer
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_quick_access` SET `link` = 'index.php?controller=AdminCartRules&addcart_rule' WHERE `link` = 'index.php?tab=AdminDiscounts&adddiscount'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_cart_rule` ADD `free_shipping` tinyint(1) NOT NULL DEFAULT 0 AFTER `value_tax_excl`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_cart_rule` ocr, `ps_cart_rule` cr SET ocr.free_shipping = 1 WHERE ocr.id_cart_rule = cr.id_cart_rule AND cr.free_shipping = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_orders` o, `ps_order_cart_rule` ocr SET o.`total_discounts` = o.total_discounts + o.`total_shipping_tax_incl`, o.`total_discounts_tax_incl` = o.`total_discounts_tax_incl` + o.`total_shipping_tax_incl`, o.`total_discounts_tax_excl` = o.`total_discounts_tax_excl` + o.`total_shipping_tax_excl` WHERE o.id_order = ocr.id_order AND ocr.free_shipping = 1
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
CREATE TABLE `ps_tab_module_preference` ( `id_tab_module_preference` int(11) NOT NULL auto_increment, `id_employee` int(11) NOT NULL, `id_tab` int(11) NOT NULL, `module` varchar(255) NOT NULL, PRIMARY KEY (`id_tab_module_preference`), UNIQUE KEY `employee_module` (`id_employee`, `id_tab`, `module`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
/* PHP:add_new_tab(AdminMarketing, es:Marketing|it:Marketing|en:Marketing|de:Marketing|fr:Marketing, 1); */
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[ /* PHP:p1540_add_missing_columns(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_stock_available` ADD UNIQUE `product_sqlstock` (`id_product`, `id_product_attribute`, `id_shop`, `id_shop_group`)
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE ps_configuration SET `value` = '8388608' WHERE `name` = 'PS_PRODUCT_PICTURE_MAX_SIZE' AND `value` <= '524288'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_guest` ADD `mobile_theme` tinyint(1) NOT NULL DEFAULT 0
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` ADD `mobile_theme` tinyint(1) NOT NULL DEFAULT 0 AFTER `gift_message`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_cart` ADD `mobile_theme` tinyint(1) NOT NULL DEFAULT 0 AFTER `gift_message`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` CHANGE `phone` `phone` varchar(32) default NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_address` CHANGE `phone_mobile` `phone_mobile` varchar(32) default NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[ /* PHP:update_genders_images(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_customer` SET `id_gender` = 1 WHERE `email` LIKE '[email protected]' AND `id_customer` = 1 AND `id_gender` = 4
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_cart_rule_carrier` crc INNER JOIN `ps_carrier` c ON crc.`id_carrier` = c.`id_carrier` SET crc.`id_carrier` = c.`id_reference`
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[
UPDATE `ps_order_payment` SET `order_reference` = LPAD(order_reference, 9 , '0')
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.0">
<sqlQuery>
<![CDATA[ /* PHP:p1540_add_missing_columns(); */ ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.1">
<sqlQuery>
<![CDATA[ SET NAMES 'utf8' ]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_carrier` CHANGE `max_weight` `max_weight` DECIMAL( 20, 6 ) NULL DEFAULT '0'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.1">
<sqlQuery>
<![CDATA[
DELETE ms.*, hm.* FROM `ps_module_shop` ms INNER JOIN `ps_hook_module` hm USING (`id_module`) INNER JOIN `ps_module` m USING (`id_module`) WHERE m.`name` LIKE 'backwardcompatibility'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.1">
<sqlQuery>
<![CDATA[
UPDATE `ps_module` SET `active` = 0 WHERE `name` LIKE 'backwardcompatibility'
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_orders` CHANGE `reference` `reference` VARCHAR( 10 ) NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
<request result="ok" sqlfile="1.5.4.1">
<sqlQuery>
<![CDATA[
ALTER TABLE `ps_order_payment` CHANGE `order_reference` `order_reference` VARCHAR( 10 ) NULL DEFAULT NULL
]]>
</sqlQuery>
</request>
</action>

Link to comment
Share on other sites

Ja die Beste Methode, um ältere Versionen upzugraden und auch fehlerfrei upzugraden auf eine saubere Version ist nach wie vor die Hardcore Methode, mittels "nur Datenbank Upgrade".

 

Es sind Warnungen, mehr nicht. Leider musste ich feststellen, dass PS 1.5.4.1 für Upgrades nicht sehr optimal ist...

 

Ist deine erste Seite auch etwas langsam ? Gem. SQL-Debugger sind die Datenbankabfragen auf der ersten Seite sehr schlecht optimiert. Shops mit über 2.000 Produkte haben ein markantes bis schwerwiegendes Ladezeitproblem hier.

Bei kleinen Shops merkt man kaum einen Unterschied zu den Unterseiten. Am Besten ist auf PS 1.5.3.1. zunächst upzugraden.

Link to comment
Share on other sites

Das Problem ist auch auf deiner Seite vorhanden, aber bei der geringen Anzahl an Produkte kaum merkbar (TTFB 8s). Ab 2.000 Artikel geht es in die Knie (TTFB 22 s.), bei einem Shop mit 20.000 erreicht man dann 1 Minute Ladezeit. Ist bei allen Shops die über der Grenze 2.000 sind. Stellungnahme von PS steht noch aus. Aber aus Erfahrung weiß ich, das wird nur ungerne behandelt und lieber unter den Tisch gekehrt. War in den letzten Jahren wo ich so etwas meldete noch nie anders. Beim nächsten Release war dann alles korrigiert und optimiert. Sind offensichtlich sehr wenig User die wirklich große Shops fahren und auch ständig am aktuellsten Stand sind. ;)

 

Wie sagt man so schön: never change a running system. Mache ich auch nicht anders. Aber als Debugger habe ich auch immer gleich einen Gegenvergleich von IST und SOLL.

Link to comment
Share on other sites

  • 3 weeks later...

So nachdem ich jetzt erfolgreich ein Upgrade zu 1.5.3.1 gemacht habe kommt das nächste problem.

 

Der Shop liegt auf der Domain wo er hin soll in einem Ordner (neu).

 

Alles funktioniert super der Shop läuft jetzt wollte ich Ihn in der Nacht auf die Hauptdomain schieben.

 

Alles klappte hatte die

 

Settings.inc.php und settings.old.php geändert.

 

define('_PS_DIRECTORY_', '/neu/');

 

zu

 

define('_PS_DIRECTORY_', '/');

 

und eine neue htaccess generiert.

 

Bloß leider bekomme ich immer einen Http 500 Server Fehler.

 

Weiß jemand woran das liegen kann???

Link to comment
Share on other sites

Wo bekommst du diesen Fehler ? 500-Fehler sind immer interne Server-Fehler. Entweder kann ein Skript nicht zu Ende ausgeführt werden, oder das Skript findet die Zugehörigkeit nicht.

 

Wo genau kommt der Fehler ? Was machst du vorher ?

Link to comment
Share on other sites

@lockesoft jo ist richtig habe ich auch korrigiert

 

@cd2500

 

sobald der shop verschoben ist wenn ich z.b. im shop bereich einen artikel wähle lädt er suche ich mir den 2 ten aus kommt der fehler.

Im admin bereich taucht der fehler auch auf habe den shop zurück geschopen in die mappe neu und alles geht

Link to comment
Share on other sites

Settings.inc.php ist geändert. Unter SEO & URL wird der neue Pfad auch entwprechend korrekt angezeigt ? Wenn nicht, dann ändern und .htaccess neu generieren.

 

Ist es nicht der Fall, dann solltest du in der Datenbank in der Tabelle ps_configuration überprüfen, ob dor noch eine falsche Angabe hinterblieben ist. Nach deinen Angaben ist der Shop jetzt anstat unter "neu" dann im Root zu finden ? Wenn ja, dann darf in der ps_configuration auch keine Angabe mit /neu/ mehr stehen.

 

Sonst bitte den bekannten Trick mit Debug-Modus aktivieren und hier auch SQL miteinbeziehen und den Fehler auslesen.

  • Like 1
Link to comment
Share on other sites

Ich schaue mir das heute Nacht an in der DB habe ich noch mal einen Eintrag für den Ordner gefunden hoffe der war es werde dann berichten wie es heute Nacht gelaufen ist.

 

Was ich jetzt aber noch im Shop gefunden habe ist eine Fehlermeldung. Vor dem Upgrade hatte ich alle Module deinstalliert selbst die Standard Module.

 

[list]
[*][b]clearsmarty[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]coolshare[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]creditcard[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]creloaded[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]deleteconnections[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]exportorders[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]facebooklike[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]faq[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]fblikebox[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]fedex[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]gadvsitemap[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]ganalytics[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]gestcom[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]googlebase[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]importarcsvporcampo[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]jbx_superuser[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]locationdetection[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]magicslideshow[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]orderiplog[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]orlique[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]paypal[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]phplistsync[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]prestashopbackup[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]productexporter[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]productquestion[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]scrollpage[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]sendnewsletters[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]siteverification[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]slidenewproducts[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]statsoos[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]totop[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]url2pdf[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]usps[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]webpack2[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]websitetranslator[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]wiznav[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]zoneedit[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]clearsmarty[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]coolshare[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]creditcard[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]creloaded[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]deleteconnections[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]exportorders[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]facebooklike[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]faq[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]fblikebox[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]fedex[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]gadvsitemap[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]ganalytics[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]gestcom[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]googlebase[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]importarcsvporcampo[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]jbx_superuser[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]locationdetection[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]magicslideshow[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]orderiplog[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]orlique[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]paypal[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]phplistsync[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]prestashopbackup[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]productexporter[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]productquestion[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]scrollpage[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]sendnewsletters[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]siteverification[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]slidenewproducts[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]statsoos[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]totop[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]url2pdf[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]usps[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]webpack2[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]websitetranslator[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]wiznav[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[*][b]zoneedit[/b]: Modul ist in der Datenbank installiert, doch die Dateien fehlen bzw. sind inkompatibel.
[/list]

Edited by newcommer (see edit history)
Link to comment
Share on other sites

So es ist vollbracht ;-)

 

Nachdem ich mir mal wieder die halbe Nacht um die Ohren geschlagen habe habe ich den Fehler gefunden.

 

Habe den Shop ja vom Ordner Neu in Root kopiert und immer Fehler als ich dann um 4 Uhr mal auf die Idee kam den Ordner umzubenennen war auch der Shop da und alle Probleme gelöst.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...