Skip to content

Commit

Permalink
chore(sql): add a new column type to the cart_rule table and index it
Browse files Browse the repository at this point in the history
  • Loading branch information
tleon committed Feb 19, 2025
1 parent 97adcb0 commit 15c484a
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 @@ -323,3 +323,8 @@ ALTER TABLE `PREFIX_attachment_lang` MODIFY COLUMN `name` varchar(255) DEFAULT N
/* Fix category thumbnail images */
/* https://github.com/PrestaShop/PrestaShop/pull/36877 */
/* PHP:ps_900_migrate_category_images(); */;

/* Add a new field to cart_rule */
/* https://github.com/PrestaShop/PrestaShop/pull/37911/ */
ALTER TABLE `PREFIX_cart_rule` ADD COLUMN `type` varchar(128) DEFAULT NULL;
CREATE INDEX `type` ON `PREFIX_cart_rule` (`type`)

0 comments on commit 15c484a

Please sign in to comment.