@spinajs/orm
Advanced tools
Comparing version 1.2.32 to 1.2.33
@@ -133,2 +133,9 @@ "use strict"; | ||
await this.prepareMigrations(); | ||
// add all registered migrations via DI | ||
di_1.DI.get(Array.ofType('__migrations___')).forEach((m) => { | ||
this.registerMigration(m); | ||
}); | ||
di_1.DI.get(Array.ofType('__models__')).forEach((m) => { | ||
this.registerModel(m); | ||
}); | ||
if (migrateOnStartup) { | ||
@@ -135,0 +142,0 @@ await this.migrateUp(); |
{ | ||
"name": "@spinajs/orm", | ||
"version": "1.2.32", | ||
"version": "1.2.33", | ||
"description": "framework orm module", | ||
@@ -54,3 +54,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "ee029f2a9376ac0866973e73b47d0c242e849157" | ||
"gitHead": "93b29dc84d6e1d560982f87b1f4228bdb03ca72b" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
611666
10856