I\'ve created a table in MySQL:
CREATE TABLE actions ( A_id int NOT NULL AUTO_INCREMENT, type ENUM(\'rate\',\'report\',\'submit\',\'edit\',\'delete\') NOT NU
Just to save other's of the hours of headache I've been thru - as giraffa touches upon, ensure @FOREIGN_KEY_CHECKS is set to 1.
SELECT @@FOREIGN_KEY_CHECKS
SET FOREIGN_KEY_CHECKS=1