Ghost/core/server/models
Harry Wolff 5ff2a31ce1 Move Models module to have an init method that sets up all models
resolves #2170

- creates a models.init() function that requires all other model files
and caches them.  This is opposed to the previous functionality where
when you require('./models') it would immediately require all other models.
Now it's done when you want.

- Updates all tests to reflect the new structure of the model module
2014-08-18 15:54:10 -04:00
..
accesstoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
app.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04: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 Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
basetoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
client.js Extending context concept to models 2014-07-18 15:32:56 +01:00
index.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
permission.js Extending context concept to models 2014-07-18 15:32:56 +01:00
post.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
refreshtoken.js Server side cleanup 2014-07-14 21:50:12 +01:00
role.js Transfer ownership end point 2014-07-30 17:40:30 +02:00
settings.js Fix lazy loading of settings 2014-07-29 10:43:38 -05:00
tag.js Extending context concept to models 2014-07-18 15:32:56 +01:00
user.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00