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 authored and GitHub committed 2024-07-05 11:10:03 +00:00
1 parent 1393f51046
commit f4dd390ab1
21 files changed
+61 -126

No files matched your search

@@ -1,8 +1,6 @@
import * as entities from "./src/models"
import { defineMikroOrmCliConfig, Modules } from "@medusajs/utils"
module.exports = {
export default defineMikroOrmCliConfig(Modules.PAYMENT, {
entities: Object.values(entities),
schema: "public",
clientUrl: "postgres://postgres@localhost/medusa-payment",
type: "postgresql",
}
})