feat(medusa): Added models + repo for products in multiple categories (#3083)

* chore: Added models + repo for products in multiple categories

* chore: remove join table model + repo

* chore: add foreign key constraints

* Update packages/medusa/src/migrations/1674455083104-product_category_product.ts

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>

* chore: cascade on delete

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Riqwan Thamir
2023-01-25 07:24:39 +01:00
committed by GitHub
co-authored by Oliver Windall Juhl
parent d25a531045
commit 2e7e16b917
4 changed files with 82 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/medusa": patch
---
feat(medusa): Added models + repo for products in multiple categories