feat: updated migration to support .mjs instead of .ts

This commit is contained in:
=
2025-02-10 15:46:40 +05:30
parent 2f0b353c4e
commit 732484d332
3 changed files with 44 additions and 16 deletions
+4 -2
View File
@@ -38,7 +38,8 @@ export default {
directory: "./seeds"
},
migrations: {
tableName: "infisical_migrations"
tableName: "infisical_migrations",
loadExtensions: [".mjs"]
}
},
production: {
@@ -62,7 +63,8 @@ export default {
max: 10
},
migrations: {
tableName: "infisical_migrations"
tableName: "infisical_migrations",
loadExtensions: [".mjs"]
}
}
} as Knex.Config;