I have two related PostgreSQL tables: persons(.., person_department_id,..) and departments(department_id, ..) with foreign keys properties "ON UPDATE CASCADE". I can't change this behavior, because data comes from external database by a script, i. e. departments.department_id can be changed without Symfony 3 application, but I must to implement a partial editing of records in those tables with Symfony 3 app.
My Q: Because "onUpdate" property has been removed from Doctrine ORM, how I can to validate the database schema? Or, maybe I can't use ORM and must to use only DBAL in this situation?