Merge pull request #1234 from mailpoet/tempales-categories

Add template categorization [MAILPOET-1159]
This commit is contained in:
Tautvidas Sipavičius
2018-01-30 16:20:01 +02:00
committed by GitHub
39 changed files with 1288 additions and 122 deletions

View File

@ -244,7 +244,9 @@ class Migrator {
function newsletterTemplates() {
$attributes = array(
'id int(11) unsigned NOT NULL AUTO_INCREMENT,',
'newsletter_id int NULL DEFAULT 0,',
'name varchar(250) NOT NULL,',
'categories varchar(250) NOT NULL DEFAULT "[]",',
'description varchar(250) NOT NULL,',
'body LONGTEXT,',
'thumbnail LONGTEXT,',