From 7c773fc1081736c8718b76ab83de071dda028626 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 13 Dec 2024 19:54:31 +0200 Subject: [PATCH] docs: add pivotTable in digital product recipe (#10605) --- .../app/recipes/digital-products/examples/standard/page.mdx | 1 + www/apps/resources/generated/edit-dates.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx index ec9dab37d983b..56206e8253114 100644 --- a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx @@ -172,6 +172,7 @@ const DigitalProductOrder = model.define("digital_product_order", { status: model.enum(OrderStatus), products: model.manyToMany(() => DigitalProduct, { mappedBy: "orders", + pivotTable: "digitalproduct_digitalproductorders" }), }) diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index adf2a1648a305..4e3ba141ab7e2 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -126,7 +126,7 @@ export const generatedEditDates = { "app/nextjs-starter/page.mdx": "2024-12-10T08:44:33.783Z", "app/recipes/b2b/page.mdx": "2024-10-03T13:07:44.153Z", "app/recipes/commerce-automation/page.mdx": "2024-10-16T08:52:01.585Z", - "app/recipes/digital-products/examples/standard/page.mdx": "2024-12-11T10:06:00.843Z", + "app/recipes/digital-products/examples/standard/page.mdx": "2024-12-13T16:04:34.105Z", "app/recipes/digital-products/page.mdx": "2024-10-03T13:07:44.147Z", "app/recipes/ecommerce/page.mdx": "2024-10-22T11:01:01.218Z", "app/recipes/integrate-ecommerce-stack/page.mdx": "2024-12-09T13:03:35.846Z",