[-] BO : delete id_theme in Image Type
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12278 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -867,7 +867,6 @@ CREATE TABLE `PREFIX_image_lang` (
|
||||
|
||||
CREATE TABLE `PREFIX_image_type` (
|
||||
`id_image_type` int(10) unsigned NOT NULL auto_increment,
|
||||
`id_theme` INT(11) unsigned NOT NULL,
|
||||
`name` varchar(16) NOT NULL,
|
||||
`width` int(10) unsigned NOT NULL,
|
||||
`height` int(10) unsigned NOT NULL,
|
||||
@@ -878,7 +877,7 @@ CREATE TABLE `PREFIX_image_type` (
|
||||
`scenes` tinyint(1) NOT NULL default '1',
|
||||
`stores` tinyint(1) NOT NULL default '1',
|
||||
PRIMARY KEY (`id_image_type`),
|
||||
UNIQUE KEY `image_type_name` (`id_theme`, `name`)
|
||||
KEY `image_type_name` (`name`)
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `PREFIX_lang` (
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<entity_image_type>
|
||||
<fields id="name" class="ImageType">
|
||||
<field name="id_theme" relation="theme"/>
|
||||
<field name="name"/>
|
||||
<field name="width"/>
|
||||
<field name="height"/>
|
||||
@@ -13,13 +12,13 @@
|
||||
<field name="stores"/>
|
||||
</fields>
|
||||
<entities>
|
||||
<image_type id="small" id_theme="default" name="small" width="45" height="45" products="1" categories="1" manufacturers="1" suppliers="1" scenes="0" stores="0"/>
|
||||
<image_type id="medium" id_theme="default" name="medium" width="58" height="58" products="1" categories="1" manufacturers="1" suppliers="1" scenes="0" stores="1"/>
|
||||
<image_type id="large" id_theme="default" name="large" width="264" height="264" products="1" categories="1" manufacturers="1" suppliers="1" scenes="0" stores="0"/>
|
||||
<image_type id="thickbox" id_theme="default" name="thickbox" width="600" height="600" products="1" categories="0" manufacturers="0" suppliers="0" scenes="0" stores="0"/>
|
||||
<image_type id="category" id_theme="default" name="category" width="500" height="150" products="0" categories="1" manufacturers="0" suppliers="0" scenes="0" stores="0"/>
|
||||
<image_type id="home" id_theme="default" name="home" width="124" height="124" products="1" categories="0" manufacturers="0" suppliers="0" scenes="0" stores="0"/>
|
||||
<image_type id="large_scene" id_theme="default" name="large_scene" width="556" height="200" products="0" categories="0" manufacturers="0" suppliers="0" scenes="1" stores="0"/>
|
||||
<image_type id="thumb_scene" id_theme="default" name="thumb_scene" width="161" height="58" products="0" categories="0" manufacturers="0" suppliers="0" scenes="1" stores="0"/>
|
||||
<image_type id="small" name="small" width="45" height="45" products="1" categories="1" manufacturers="1" suppliers="1" scenes="0" stores="0"/>
|
||||
<image_type id="medium" name="medium" width="58" height="58" products="1" categories="1" manufacturers="1" suppliers="1" scenes="0" stores="1"/>
|
||||
<image_type id="large" name="large" width="264" height="264" products="1" categories="1" manufacturers="1" suppliers="1" scenes="0" stores="0"/>
|
||||
<image_type id="thickbox" name="thickbox" width="600" height="600" products="1" categories="0" manufacturers="0" suppliers="0" scenes="0" stores="0"/>
|
||||
<image_type id="category" name="category" width="500" height="150" products="0" categories="1" manufacturers="0" suppliers="0" scenes="0" stores="0"/>
|
||||
<image_type id="home" name="home" width="124" height="124" products="1" categories="0" manufacturers="0" suppliers="0" scenes="0" stores="0"/>
|
||||
<image_type id="large_scene" name="large_scene" width="556" height="200" products="0" categories="0" manufacturers="0" suppliers="0" scenes="1" stores="0"/>
|
||||
<image_type id="thumb_scene" name="thumb_scene" width="161" height="58" products="0" categories="0" manufacturers="0" suppliers="0" scenes="1" stores="0"/>
|
||||
</entities>
|
||||
</entity_image_type>
|
||||
|
||||
Reference in New Issue
Block a user