We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ccfa2 commit c2971d4Copy full SHA for c2971d4
ghost/core/core/boot.js
@@ -87,6 +87,12 @@ async function initCore({ghostServer, config}) {
87
require('./shared/url-utils');
88
debug('End: Load urlUtils');
89
90
+ // Models are the heart of Ghost - we want to explicitly load them here so their require time
91
+ // isn't hidden in other steps
92
+ debug('Begin: models');
93
+ require('./server/models');
94
+ debug('End: models');
95
+
96
// Settings are a core concept we use settings to store key-value pairs used in critical pathways as well as public data like the site title
97
debug('Begin: settings');
98
const settings = require('./server/services/settings/settings-service');
0 commit comments