Skip to content

Commit

Permalink
Added flag for sending email when post is published
Browse files Browse the repository at this point in the history
no-issue
  • Loading branch information
allouis committed Nov 4, 2019
1 parent f29b734 commit 3fc3c52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/server/data/schema/schema.js
Expand Up @@ -29,6 +29,7 @@ module.exports = {
defaultTo: 'public',
validations: {isIn: [['public', 'members', 'paid']]}
},
send_email_when_published: {type: 'bool', nullable: false, defaultTo: false},
/**
* @deprecated: `author_id`, might be removed in Ghost 3.0
* If we keep it, then only, because you can easier query post.author_id than posts_authors[*].sort_order.
Expand Down

0 comments on commit 3fc3c52

Please sign in to comment.