Implemented mail messages templates and layouts
This commit is contained in:
committed by
Manuel Raynaud
parent
e675be4cff
commit
33e0a854f2
@@ -10,6 +10,7 @@ INSERT INTO `config` (`name`, `value`, `secured`, `hidden`, `created_at`, `updat
|
||||
('active-front-template', 'default', 0, 0, NOW(), NOW()),
|
||||
('active-admin-template', 'default', 0, 0, NOW(), NOW()),
|
||||
('active-pdf-template', 'default', 0, 0, NOW(), NOW()),
|
||||
('active-mail-template', 'default', 0, 0, NOW(), NOW()),
|
||||
('default_lang_without_translation', '1', 1, 1, NOW(), NOW()),
|
||||
('rewriting_enable', '0', 0, 0, NOW(), NOW()),
|
||||
('imagine_graphic_driver', 'gd', 0, 0, NOW(), NOW()),
|
||||
|
||||
@@ -1060,6 +1060,10 @@ CREATE TABLE `message`
|
||||
`id` INTEGER NOT NULL AUTO_INCREMENT,
|
||||
`name` VARCHAR(255) NOT NULL,
|
||||
`secured` TINYINT,
|
||||
`text_layout_file_name` VARCHAR(255),
|
||||
`text_template_file_name` VARCHAR(255),
|
||||
`html_layout_file_name` VARCHAR(255),
|
||||
`html_template_file_name` VARCHAR(255),
|
||||
`created_at` DATETIME,
|
||||
`updated_at` DATETIME,
|
||||
`version` INTEGER DEFAULT 0,
|
||||
@@ -1652,6 +1656,9 @@ CREATE TABLE `product_i18n`
|
||||
`description` LONGTEXT,
|
||||
`chapo` TEXT,
|
||||
`postscriptum` TEXT,
|
||||
`meta_title` VARCHAR(255),
|
||||
`meta_description` TEXT,
|
||||
`meta_keyword` TEXT,
|
||||
PRIMARY KEY (`id`,`locale`),
|
||||
CONSTRAINT `product_i18n_FK_1`
|
||||
FOREIGN KEY (`id`)
|
||||
@@ -2342,6 +2349,10 @@ CREATE TABLE `message_version`
|
||||
`id` INTEGER NOT NULL,
|
||||
`name` VARCHAR(255) NOT NULL,
|
||||
`secured` TINYINT,
|
||||
`text_layout_file_name` VARCHAR(255),
|
||||
`text_template_file_name` VARCHAR(255),
|
||||
`html_layout_file_name` VARCHAR(255),
|
||||
`html_template_file_name` VARCHAR(255),
|
||||
`created_at` DATETIME,
|
||||
`updated_at` DATETIME,
|
||||
`version` INTEGER DEFAULT 0 NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user