remove inventory

This commit is contained in:
2026-02-08 10:49:16 +03:30
parent 9a7010dcea
commit 8aac87add1
76 changed files with 125 additions and 639 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ export class RestaurantsService {
// Delete coupons
await em.nativeDelete(Coupon, { shop: id });
// Delete products (will cascade to reviews, favorites, and inventory due to cascade settings)
// Delete products (will cascade to reviews and favorites due to cascade settings)
await em.nativeDelete(Product, { shop: id });
// Delete categories (products should be deleted by cascade, but delete explicitly to be safe)