Ghost/core/server/models
Hannah Wolfe b03ecd9ebc Use bookshelf's model registry plugin
Refs #2170

This removes the circular dependency problem from our models thanks to
https://github.com/tgriesser/bookshelf/issues/181
- add the registry plugin
- switch all models and collections to be registered
- switch relationships to be defined using a string, which calls from the registry
2014-07-13 18:18:25 +01:00
..
accesstoken.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
app.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
appField.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
appSetting.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
base.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
client.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
index.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
permission.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
post.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
refreshtoken.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
role.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
session.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
settings.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
tag.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00
user.js Use bookshelf's model registry plugin 2014-07-13 18:18:25 +01:00