Skip to content

Commit

Permalink
Merge pull request #925 from ks129/feature-value-position
Browse files Browse the repository at this point in the history
Change feature value table to add position field
  • Loading branch information
Quetzacoalt91 authored Nov 14, 2024
2 parents 3400e3b + c75373c commit f1bd1ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions upgrade/sql/9.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,8 @@ DELETE FROM `PREFIX_hook` WHERE `name` IN (
/* Clean hook registrations related to removed hooks */
DELETE FROM `PREFIX_hook_module` WHERE `id_hook` NOT IN (SELECT id_hook FROM `PREFIX_hook`);
DELETE FROM `PREFIX_hook_module_exceptions` WHERE `id_hook` NOT IN (SELECT id_hook FROM `PREFIX_hook`);

/* Feature value position */
/* https://github.com/PrestaShop/PrestaShop/pull/37042 */
/* PHP:add_column('feature_value', 'position', 'int(10) unsigned NOT NULL DEFAULT \'0\''); */;
INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VALUES ('PS_FEATURE_VALUES_ORDER', 'name', NOW(), NOW());

0 comments on commit f1bd1ca

Please sign in to comment.