Skip to content

Commit

Permalink
docs: add pivotTable in digital product recipe (#10605)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Dec 13, 2024
1 parent 429c570 commit 7c773fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ const DigitalProductOrder = model.define("digital_product_order", {
status: model.enum(OrderStatus),
products: model.manyToMany(() => DigitalProduct, {
mappedBy: "orders",
pivotTable: "digitalproduct_digitalproductorders"
}),
})

Expand Down
2 changes: 1 addition & 1 deletion www/apps/resources/generated/edit-dates.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7c773fc

Please sign in to comment.