mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Removed author_id
as a default fetched column for posts
refs https://github.com/TryGhost/Toolbox/issues/230 - The column has been dropped from schema and would not be necessary in the post's model
This commit is contained in:
parent
e88b4b5c1b
commit
efc443a8d1
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ Post = ghostBookshelf.Model.extend({
|
|||
* This is protected by the fn `permittedOptions`.
|
||||
*/
|
||||
defaultColumnsToFetch: function defaultColumnsToFetch() {
|
||||
return ['id', 'published_at', 'slug', 'author_id'];
|
||||
return ['id', 'published_at', 'slug'];
|
||||
},
|
||||
/**
|
||||
* If the `formats` option is not used, we return `html` be default.
|
||||
|
|
Loading…
Reference in a new issue