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:
committed by
GitHub
parent
1393f51046
commit
f4dd390ab1
@@ -1,8 +1,7 @@
|
||||
import * as entities from "./src/models"
|
||||
import { defineMikroOrmCliConfig, Modules } from "@medusajs/utils"
|
||||
|
||||
module.exports = {
|
||||
export default defineMikroOrmCliConfig(Modules.WORKFLOW_ENGINE, {
|
||||
entities: Object.values(entities),
|
||||
schema: "public",
|
||||
clientUrl: "postgres://postgres@localhost/medusa-workflow-engine-inmemory",
|
||||
type: "postgresql",
|
||||
}
|
||||
databaseName: "medusa-workflow-engine-inmemory",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user