exodus-framework 2.1.1010 → 2.1.1011
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.
- package/lib/services/database.js +1 -1
- package/package.json +1 -1
package/lib/services/database.js
CHANGED
@@ -263,7 +263,7 @@ class DatabaseService extends _app.Service {
|
|
263
263
|
const migrations = _app.Core.settings.getDatabase().migrationsPath;
|
264
264
|
const umzung = new _umzug.Umzug({
|
265
265
|
migrations: {
|
266
|
-
glob: `${migrations}/*.
|
266
|
+
glob: `${migrations}/*.js` //! se incluir .ts vai duplicar na db pois ele salva com o formato tbm.
|
267
267
|
},
|
268
268
|
context: connection.getQueryInterface(),
|
269
269
|
storage: new _umzug.SequelizeStorage({
|