I am having problems when I add a new column to an existing table displayed by Doctrine. Usually, I update the schema first and then deploy the code using mappings. However, between these two steps I get errors such as:
Property MyEntity::$newcolumn does not exist" at /app/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php line 80
Ideally, Doctrine ignores the new column before the mapping is deployed and simply gives a default value. Is there any way to do this? I know about Doctrine migration, but there seems to be too much trouble to solve a simple problem like this.
My doctrine version: 2.5
source share