0
Fork 0
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:
Kevin Ansfield 2021-06-02 10:09:18 +01:00
parent c066dd157a
commit 0fdfcd5002

View file

@ -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');
},