Recently I came accross a problem with entity that was mapped to view in database. In such scenario calling doctrine:schema:update command was producing errors. I know that we can create custom schema based command tool but I think that my solution is easier and more efficient. The solution is using Doctrine2: postGenerateSchema event listener – […]