1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-14 17:34:49 +01:00
openstamanager/update/2_4_47.sql
2023-06-06 17:12:51 +02:00

2 lines
190 B
SQL

-- 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;