Skip to content

Commit

Permalink
Merge pull request #16305 from matks/fix-sql-upgrade-1770
Browse files Browse the repository at this point in the history
Fix SQL upgrade for 1.7.7.0 (missing FROM)
  • Loading branch information
Pablo Borowicz committed Nov 7, 2019
2 parents 17bfecd + 9c079c1 commit 7b942ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-dev/upgrade/sql/1.7.7.0.sql
Expand Up @@ -14,7 +14,7 @@ ALTER TABLE `PREFIX_product_attribute` ADD `mpn` VARCHAR(40) NULL AFTER `upc`;
ALTER TABLE `PREFIX_product` ADD `mpn` VARCHAR(40) NULL AFTER `upc`;

/* Delete price display precision configuration */
DELETE `PREFIX_configuration` WHERE name = 'PS_PRICE_DISPLAY_PRECISION';
DELETE FROM `PREFIX_configuration` WHERE name = 'PS_PRICE_DISPLAY_PRECISION';

/* Set optin field value to 0 in employee table */
ALTER TABLE `PREFIX_employee` MODIFY COLUMN `optin` tinyint(1) unsigned DEFAULT NULL;

0 comments on commit 7b942ae

Please sign in to comment.