* init * create new interface * prep integration tests * update denpencies * inventory service partial tests * finalize integration tests * add events * align events * adjust inventory level reservation levels * add test validating reserved quantity after reseration item update * fix nits * rename to inventory-next * update yarn.lock * remove changelog * remove fixtures * remove unused files * ready for review * Update packages/inventory-next/package.json Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> * pr feedback * add tests and docs for partition-array util * remote decorators from private method * fix unit tests * add migrations * add foreign keys * fix build --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
14 lines
319 B
TypeScript
14 lines
319 B
TypeScript
import * as entities from "./src/models"
|
|
|
|
import { TSMigrationGenerator } from "@medusajs/utils"
|
|
|
|
module.exports = {
|
|
entities: Object.values(entities),
|
|
schema: "public",
|
|
clientUrl: "postgres://postgres@localhost/medusa-inventory",
|
|
type: "postgresql",
|
|
migrations: {
|
|
generator: TSMigrationGenerator,
|
|
},
|
|
}
|