Skip to content

Commit

Permalink
Merge pull request #1009 from Hlavtox/pr-37236
Browse files Browse the repository at this point in the history
Adapt to recent PRs
  • Loading branch information
Quetzacoalt91 authored Nov 18, 2024
2 parents bdd7953 + d89438d commit 4ea36f0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion upgrade/sql/9.0.0.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
SET SESSION sql_mode='';
SET NAMES 'utf8mb4';

/* Enable controlling of default language URL prefix - https://github.com/PrestaShop/PrestaShop/pull/37236 */
/* Add a file separator input to the sql manager settings - https://github.com/PrestaShop/PrestaShop/pull/35843 */
INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES
('PS_DEBUG_COOKIE_NAME', '', NOW(), NOW()),
('PS_DEBUG_COOKIE_VALUE', '', NOW(), NOW()),
('PS_PRODUCT_BREADCRUMB_CATEGORY', 'default', NOW(), NOW())
('PS_PRODUCT_BREADCRUMB_CATEGORY', 'default', NOW(), NOW()),
('PS_DEFAULT_LANGUAGE_URL_PREFIX', 1, NOW(), NOW())
;

/* Remove meta keywords - https://github.com/PrestaShop/PrestaShop/pull/36873 */
/* PHP:drop_column_if_exists('category_lang', 'meta_keywords'); */;
/* PHP:drop_column_if_exists('cms_lang', 'meta_keywords'); */;
/* PHP:drop_column_if_exists('cms_category_lang', 'meta_keywords'); */;
/* PHP:drop_column_if_exists('manufacturer_lang', 'meta_keywords'); */;
/* PHP:drop_column_if_exists('meta_lang', 'keywords'); */;
/* PHP:drop_column_if_exists('product_lang', 'meta_keywords'); */;
/* PHP:drop_column_if_exists('supplier_lang', 'meta_keywords'); */;

INSERT INTO `PREFIX_hook` (`id_hook`, `name`, `title`, `description`, `position`) VALUES
(NULL, 'actionUpdateCartAddress', 'Triggers after changing address on the cart', 'This hook is called after address is changed on the cart', '1'),
(NULL, 'actionPresentCategory', 'Category Presenter', 'This hook is called before a category is presented', '1'),
Expand Down

0 comments on commit 4ea36f0

Please sign in to comment.