Files
PrestaShop/install-dev/upgrade/sql/1.5.0.18.sql
2012-09-18 08:35:35 +00:00

6 lines
240 B
SQL

SET NAMES 'utf8';
ALTER TABLE `PREFIX_image_shop` ADD `cover` TINYINT(1) UNSIGNED NOT NULL AFTER `id_shop`;
ALTER TABLE `PREFIX_image_shop` DROP PRIMARY KEY;
ALTER TABLE `PREFIX_image_shop` ADD ADD INDEX (`id_image`, `id_shop`, `cover`);