0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added email subject post meta field (#11335)

no issue
This commit is contained in:
Rishabh Garg 2019-11-04 13:15:23 +07:00 committed by GitHub
parent 8503105b39
commit f2f9073edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -102,6 +102,10 @@
"type": ["string", "null"],
"maxLength": 500
},
"email_subject": {
"type": ["string", "null"],
"maxLength": 300
},
"custom_template": {
"type": ["string", "null"],
"maxLength": 100

View file

@ -62,7 +62,8 @@ module.exports = {
twitter_title: {type: 'string', maxlength: 300, nullable: true},
twitter_description: {type: 'string', maxlength: 500, nullable: true},
meta_title: {type: 'string', maxlength: 2000, nullable: true, validations: {isLength: {max: 300}}},
meta_description: {type: 'string', maxlength: 2000, nullable: true, validations: {isLength: {max: 500}}}
meta_description: {type: 'string', maxlength: 2000, nullable: true, validations: {isLength: {max: 500}}},
email_subject: {type: 'string', maxlength: 300, nullable: true}
},
users: {
id: {type: 'string', maxlength: 24, nullable: false, primary: true},