ALTER TABLE "qcp5_attributes" 
DROP CONSTRAINT IF EXISTS "qcp5_attributes_qcp5_product_id_fkey";

ALTER TABLE "qcp5_attributes"
ADD CONSTRAINT "qcp5_attributes_qcp5_product_id_fkey"
FOREIGN KEY ("qcp5_product_id")
REFERENCES "qcp5_products" ("id")
ON DELETE CASCADE; 
