// upgrader fix module_preference table created during upgrade
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13119 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -15,3 +15,13 @@ VALUES
|
||||
(NULL, NULL, 'PS_LOGO_INVOICE', 'logo_invoice.jpg', NOW(), NOW()),
|
||||
(NULL, NULL, 'PS_FAVICON', 'favicon.jpg', NOW(), NOW()),
|
||||
(NULL, NULL, 'PS_STORES_ICON', 'logo_stores.gif', NOW(), NOW());
|
||||
|
||||
CREATE TABLE `PREFIX_module_preference` (
|
||||
`id_module_preference` int(11) NOT NULL auto_increment,
|
||||
`id_employee` int(11) NOT NULL,
|
||||
`module` varchar(255) NOT NULL,
|
||||
`interest` tinyint(1) default NULL,
|
||||
`favorite` tinyint(1) default NULL,
|
||||
PRIMARY KEY (`id_module_preference`),
|
||||
UNIQUE KEY `employee_module` (`id_employee`, `module`)
|
||||
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
|
||||
|
||||
Reference in New Issue
Block a user