@adaptivestone/framework 5.0.0-alpha.2 → 5.0.0-alpha.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.
- package/CHANGELOG.md +5 -0
- package/commands/migration/Migrate.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -36,7 +36,7 @@ class Migrate extends AbstractCommand {
|
|
|
36
36
|
for (const migration of migrations) {
|
|
37
37
|
this.logger.info(`=== Start migration ${migration.file} ===`);
|
|
38
38
|
// eslint-disable-next-line no-await-in-loop
|
|
39
|
-
const MigrationCommand = await import(migration.path);
|
|
39
|
+
const { default: MigrationCommand } = await import(migration.path);
|
|
40
40
|
const migrationCommand = new MigrationCommand(this.app);
|
|
41
41
|
// eslint-disable-next-line no-await-in-loop
|
|
42
42
|
await migrationCommand.up();
|