mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed unused fields
relationship function on Post
model
refs https://github.com/TryGhost/Ghost/issues/12565 - missed when cleaning up unused app related database fields
This commit is contained in:
parent
c066dd157a
commit
0fdfcd5002
1 changed files with 0 additions and 4 deletions
|
@ -706,10 +706,6 @@ Post = ghostBookshelf.Model.extend({
|
|||
.query('orderBy', 'sort_order', 'ASC');
|
||||
},
|
||||
|
||||
fields: function fields() {
|
||||
return this.morphMany('AppField', 'relatable');
|
||||
},
|
||||
|
||||
mobiledoc_revisions() {
|
||||
return this.hasMany('MobiledocRevision', 'post_id');
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue