chore: Apply defineMikroOrmCliConfig (#7975)

**What**
Ensure all module rely on the same config for the dev db

FIXES CORE-2493
This commit is contained in:
Adrien de Peretti
2024-07-05 13:10:03 +02:00
committed by GitHub
parent 1393f51046
commit f4dd390ab1
21 changed files with 61 additions and 126 deletions

View File

@@ -1,6 +1,6 @@
import * as entities from "./src/models"
import { defineMikroOrmCliConfig, Modules } from "@medusajs/utils"
module.exports = defineMikroOrmCliConfig(Modules.FULFILLMENT, {
export default defineMikroOrmCliConfig(Modules.FULFILLMENT, {
entities: Object.values(entities),
})