fix bug of edit product

This commit is contained in:
2026-09-30 21:16:29 +03:30
parent 38cabb0957
commit be00478aa4
15 changed files with 150 additions and 119 deletions
@@ -0,0 +1,5 @@
-- Remove Catalog as independent entity; Product is the sole merchandise unit.
ALTER TABLE "Product" DROP CONSTRAINT IF EXISTS "Product_catalogId_fkey";
DROP INDEX IF EXISTS "Product_catalogId_idx";
ALTER TABLE "Product" DROP COLUMN IF EXISTS "catalogId";
DROP TABLE IF EXISTS "Catalog";