docs : Fix wrong model names in marketplace recipe (#8002)

- Replaced `store_user` that have been copy/paste with the right ones
This commit is contained in:
Adil
2024-07-08 10:28:08 +02:00
committed by GitHub
parent 3d6b1dc7ae
commit 1c6d1c28ff

View File

@@ -86,7 +86,7 @@ Module Relationships is coming soon.
```ts title="src/modules/marketplace/models/store-product.ts"
import { model } from "@medusajs/utils"
const StoreProduct = model.define("store_user", {
const StoreProduct = model.define("store_product", {
id: model.id().primaryKey(),
store_id: model.text(),
product_id: model.text(),
@@ -104,7 +104,7 @@ Module Relationships is coming soon.
```ts title="src/modules/marketplace/models/store-order.ts"
import { model } from "@medusajs/utils"
const StoreOrder = model.define("store_user", {
const StoreOrder = model.define("store_order", {
id: model.id().primaryKey(),
store_id: model.text(),
order_id: model.text(),