@projectinvicta/nails 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/Nails.ts +1 -0
  2. package/package.json +1 -1
package/lib/Nails.ts CHANGED
@@ -97,6 +97,7 @@ export default class Nails {
97
97
 
98
98
  async initializeModels() {
99
99
  await this.loadModels(this.config.service.MODELS_ROOT);
100
+ await Promise.all(this.modelFinalizations);
100
101
  await this.sequelize.sync();
101
102
  }
102
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectinvicta/nails",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "A node.js webserver scaffold",
5
5
  "type": "module",
6
6
  "main": "index.ts",