Sign in to follow this  
Followers 0

Précision Sur Migration Et Bdd

2 posts in this topic

Posted · Report post

Bonjour à tous !

j'aurai besoin d'une précision, d'un conseil concernant laz migration d'une boutique peel 7.0.1 vers 7.0.2

Je suis comme d'habitude vos recommandations et notamment le topic

et vous dites qu'il faut modifier la BDD avec

 

INSERT INTO `peel_configuration` (`id`, `technical_code`, `origin`, `type`, `string`, `lang`, `last_update`, `explain`, `etat`) VALUES
(191, 'catalog_products_columns_default', 'core', 'integer', '3', '', '2013-01-01 12:00:00', '', 1),
(192, 'associated_products_columns_default', 'core', 'integer', '3', '', '2013-01-01 12:00:00', '', 1),
(193, 'associated_products_display_mode', 'core', 'string', 'column', '', '2013-01-01 12:00:00', '', 1),
(194, 'show_on_estimate_text', 'core', 'boolean', 'true', '', '2013-01-01 12:00:00', '', 1),
(195, 'show_add_to_cart_on_free_products', 'core', 'boolean', 'true', '', '2013-01-01 12:00:00', '', 1),
(196, 'show_short_description_on_product_details', 'core', 'boolean', 'true', '', '2013-01-01 12:00:00', '', 1),
(197, 'category_show_more_on_catalog_if_no_order_allowed', 'core', 'boolean', 'true', '', '2013-01-01 12:00:00', '', 1);

 

OR, moi ce qui me chiffonne, c'est que de mon côté, dans la BDD, j'ai déjà des id 191 à 197 du style :

INSERT INTO `peel_configuration` VALUES (191, 'complete_lang_files', 'auto', 'array', '"fr", "en", "es"', '', '2013-02-19 09:56:35', '', 1);
INSERT INTO `peel_configuration` VALUES (192, 'nom_fr', 'sites.php', 'string', 'JL Transferts Numériques', '', '2013-03-25 15:42:15', '', 1);
INSERT INTO `peel_configuration` VALUES (193, 'used_uploader', 'auto', 'string', '', '', '2013-02-19 09:56:35', '', 1);
INSERT INTO `peel_configuration` VALUES (194, 'nom_en', 'sites.php', 'string', 'JL Transferts Numériques', '', '2013-03-25 15:42:15', '', 1);
INSERT INTO `peel_configuration` VALUES (195, 'logo_fr', 'sites.php', 'string', 'http://www.jl-transferts-numeriques.fr/xxxxxxxxxx', '', '2013-03-25 15:42:16', '', 1);
INSERT INTO `peel_configuration` VALUES (196, 'logo_en', 'sites.php', 'string', 'http://www.jl-transferts-numeriques.fr/xxxxxxxxx', '', '2013-03-25 15:42:16', '', 1);
INSERT INTO `peel_configuration` VALUES (197, 'module_vacances_client_msg_fr', '', 'string', '', '', '2013-02-19 10:19:17', '', 1);

 

Donc, que dois je faire dans ce cas ??

 

merci pour vos réponses

 

JL

 

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

 

Vous pouvez supprimer le champ `id` de la requête d’insertion :

INSERT INTO `peel_configuration` (`technical_code`, `origin`, `type`, `string`, `lang`, `last_update`, `explain`, `etat`) VALUES
('catalog_products_columns_default', 'core', 'integer', '3', '', '2013-01-01 12:00:00', '', 1)

Share this post


: post
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
Sign in to follow this  
Followers 0

Twitter Advisto ecommerce

Facebook PEEL Shopping