// module newsletter hook fix + added create table in db_settings_extends.sql

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10896 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-05 09:37:36 +00:00
parent 1cce2fd6cb
commit 863ea0d354
3 changed files with 30 additions and 19 deletions
+12
View File
@@ -1642,3 +1642,15 @@ CREATE TABLE `PREFIX_favorite_product` (
PRIMARY KEY (`id_favorite_product`))
ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `PREFIX_newsletter` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`id_shop` INTEGER UNSIGNED NOT NULL DEFAULT 1,
`id_group_shop` INTEGER UNSIGNED NOT NULL DEFAULT 1,
`email` varchar(255) NOT NULL,
`newsletter_date_add` DATETIME NULL,
`ip_registration_newsletter` varchar(15) NOT NULL,
`http_referer` VARCHAR(255) NULL,
`active` TINYINT(1) NOT NULL DEFAULT 0,
PRIMARY KEY(`id`)
) ENGINE=ENGINE_TYPE default CHARSET=utf8;