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,7 +1,6 @@
import { defineMikroOrmCliConfig } from "@medusajs/utils"
import { defineMikroOrmCliConfig, Modules } from "@medusajs/utils"
import * as entities from "./src/models"
export default defineMikroOrmCliConfig({
export default defineMikroOrmCliConfig(Modules.CURRENCY, {
entities: Object.values(entities),
databaseName: "medusa-currency",
})