diff --git a/update/2_4_47.sql b/update/2_4_47.sql new file mode 100644 index 000000000..4ae2fdf36 --- /dev/null +++ b/update/2_4_47.sql @@ -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; \ No newline at end of file