Fix SQL install
This commit is contained in:
parent
7582950314
commit
ca085ccba7
@ -46,20 +46,6 @@ class AntadisConfigurator extends Module
|
|||||||
KEY `id_configurator_opt_values` (`id_configurator_opt`)
|
KEY `id_configurator_opt_values` (`id_configurator_opt`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Configurator options values';",
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Configurator options values';",
|
||||||
|
|
||||||
"CREATE TABLE IF NOT EXISTS `ps_configurator_opt_group_lang` (
|
|
||||||
`id_configurator_opt_group` int(11) NOT NULL,
|
|
||||||
`id_lang` int(11) NOT NULL,
|
|
||||||
`name` varchar(255) NOT NULL,
|
|
||||||
PRIMARY KEY (`id_configurator_opt_group`,`id_lang`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;",
|
|
||||||
|
|
||||||
"CREATE TABLE IF NOT EXISTS `ps_configurator_opt_group_lang` (
|
|
||||||
`id_configurator_opt_group` int(11) NOT NULL,
|
|
||||||
`id_lang` int(11) NOT NULL,
|
|
||||||
`name` varchar(255) NOT NULL,
|
|
||||||
PRIMARY KEY (`id_configurator_opt_group`,`id_lang`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;",
|
|
||||||
|
|
||||||
"CREATE TABLE IF NOT EXISTS `ps_configurator_opt_lang` (
|
"CREATE TABLE IF NOT EXISTS `ps_configurator_opt_lang` (
|
||||||
`id_configurator_opt` int(11) NOT NULL,
|
`id_configurator_opt` int(11) NOT NULL,
|
||||||
`id_lang` int(11) NOT NULL,
|
`id_lang` int(11) NOT NULL,
|
||||||
@ -67,6 +53,20 @@ class AntadisConfigurator extends Module
|
|||||||
PRIMARY KEY (`id_configurator_opt`,`id_lang`)
|
PRIMARY KEY (`id_configurator_opt`,`id_lang`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;",
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;",
|
||||||
|
|
||||||
|
"CREATE TABLE `ps_configurator_opt_group` (
|
||||||
|
`id_configurator_opt_group` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`type` varchar(20) NOT NULL,
|
||||||
|
`reference` varchar(255) NOT NULL,
|
||||||
|
PRIMARY KEY (`id_configurator_opt_group`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Configurator product options';",
|
||||||
|
|
||||||
|
"CREATE TABLE IF NOT EXISTS `ps_configurator_opt_group_lang` (
|
||||||
|
`id_configurator_opt_group` int(11) NOT NULL,
|
||||||
|
`id_lang` int(11) NOT NULL,
|
||||||
|
`name` varchar(255) NOT NULL,
|
||||||
|
PRIMARY KEY (`id_configurator_opt_group`,`id_lang`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;",
|
||||||
|
|
||||||
"CREATE TABLE IF NOT EXISTS `ps_configurator_storage` (
|
"CREATE TABLE IF NOT EXISTS `ps_configurator_storage` (
|
||||||
`id_configurator` int(11) unsigned NOT NULL DEFAULT '0',
|
`id_configurator` int(11) unsigned NOT NULL DEFAULT '0',
|
||||||
`id_product` int(11) NOT NULL,
|
`id_product` int(11) NOT NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user