From 374d2d78b12cc3b0fecff09db44db069f059aad2 Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Fri, 13 Sep 2024 09:44:31 +0200 Subject: [PATCH] fix: use `.mjs` instead --- src/tasks/migrations/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasks/migrations/utils.js b/src/tasks/migrations/utils.js index 37328ef3..3ce0eab9 100644 --- a/src/tasks/migrations/utils.js +++ b/src/tasks/migrations/utils.js @@ -38,7 +38,7 @@ export const getPathToFile = (fileName, migrationPath = null) => { * getNameOfMigrationFile('product', 'price') // change_product_price */ export const getNameOfMigrationFile = (component, field) => { - return `change_${component}_${field}.js` + return `change_${component}_${field}.mjs` } /**