[*] Core: Image covers is now multishop

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17374 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-09-14 14:25:44 +00:00
parent 6897a92982
commit 1c1cdab498
11 changed files with 104 additions and 57 deletions
+4 -3
View File
@@ -2032,9 +2032,10 @@ CREATE TABLE `PREFIX_contact_shop` (
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
CREATE TABLE `PREFIX_image_shop` (
`id_image` INT( 11 ) UNSIGNED NOT NULL,
`id_shop` INT( 11 ) UNSIGNED NOT NULL,
PRIMARY KEY (`id_image`, `id_shop`),
`id_image` INT( 11 ) UNSIGNED NOT NULL,
`id_shop` INT( 11 ) UNSIGNED NOT NULL,
`cover` tinyint(1) NOT NULL,
PRIMARY KEY (`id_image`, `id_shop`, `cover`),
KEY `id_shop` (`id_shop`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;