Aggiunta vincolo fra ddt e righe ddt

This commit is contained in:
Pek5892 2023-06-06 17:12:51 +02:00
parent c87df50df8
commit 298b29e6f3
1 changed files with 2 additions and 0 deletions

2
update/2_4_47.sql Normal file
View File

@ -0,0 +1,2 @@
-- Aggiunta vincolo fra ddt e righe ddt
ALTER TABLE `dt_righe_ddt` ADD CONSTRAINT `dt_righe_ddt_ibfk_2` FOREIGN KEY (`idddt`) REFERENCES `dt_ddt`(`id`) ON DELETE CASCADE ON UPDATE RESTRICT;