CONDITION e' una parola riservata di mysql. Cambia il nome di quella tabella oppure mettila tra backtick ... ma e' meglio se usi un'altro nome.Originariamente inviato da Mitttico
l'errore è questo:
[localhost] ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Condition(id_condition)
ON DELETE CASCADE
ON UPDATE CASC