Module DigressivePrice

This commit is contained in:
2021-04-08 15:57:38 +02:00
parent 99f3749535
commit f608c9332b
17041 changed files with 3164200 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
-- ---------------------------------------------------------------------
-- Update the foreign key to provide automatic delete
-- ---------------------------------------------------------------------
ALTER TABLE `digressive_price` DROP FOREIGN KEY `fk_product_digressive`;
ALTER TABLE `digressive_price` ADD CONSTRAINT `fk_product_digressive`
FOREIGN KEY (`product_id`)
REFERENCES `product` (`id`)
ON UPDATE RESTRICT
ON DELETE CASCADE;