MySQL - MariaDB
Afficher les contraintes de cascades
Exemple pour la compréhension :
Dans phpmyadmin
Sélectionner la table, puis Structure, enfin vue relationnelle.
En CLI
show create table decisions ;
KEY `simulated` (`simulated`),
CONSTRAINT `decisions_alerts_decisions` FOREIGN KEY (`alert_decisions`) REFERENCES `alerts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=34889411 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin |
