feat(stock-location): Convert module to use mikro-orm (#6616)

* convert module

* fix migration

* cleanup module service

* fix pr feedback
This commit is contained in:
Philip Korsholm authored and GitHub committed 2024-03-08 13:15:15 +01:00
1 parent 056e3e9599
commit 8406eb5a35
27 files changed
+1670 -47

No files matched your search

@@ -0,0 +1,13 @@
import * as entities from "./src/models"
import { TSMigrationGenerator } from "@medusajs/utils"
module.exports = {
entities: Object.values(entities),
schema: "public",
clientUrl: "postgres://postgres@localhost/medusa-stock-location",
type: "postgresql",
migrations: {
generator: TSMigrationGenerator,
},
}