Implemented mail messages templates and layouts

This commit is contained in:
Franck Allimant
2013-11-26 19:20:45 +01:00
committed by Manuel Raynaud
parent e675be4cff
commit 33e0a854f2
40 changed files with 2377 additions and 201 deletions

View File

@@ -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,