Doctrine 2 - ORM

Add referential integrity check for MySQL to console commands