[*] Core: Image covers is now multishop

This commit is contained in:
rGaillard committed 2012-09-14 14:25:44 +00:00
1 parent 610f9d1d4c
commit 3835d068d2
11 files changed
+104 -57

No files matched your search

+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;