This topic contains 4 replies, has 3 voices, and was last updated by Rodolfo 9 years, 2 months ago.
- Topic
Hello!
I have no idea why I’m getting this error, what do you guys think?123456789php app/console doctrine:schema:update --force --dump-sql -vvvSchema update and create index completed.<strong> [Doctrine\DBAL\Schema\SchemaException]There is no column with name 'sales_representative' on table 'orocrm_contact'.</strong>Exception trace:() at /Users/rbandeira/projects/orocrm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/SchemaException.php:85Doctrine\DBAL\Schema\SchemaException::columnDoesNotExist() at /Users/rbandeira/projects/orocrm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/Table.php:252But, look what I have in MySQL:
123456789mysql> show columns from orocrm_contact where field = 'sales_representative';+----------------------+--------------+------+-----+---------+-------+| Field | Type | Null | Key | Default | Extra |+----------------------+--------------+------+-----+---------+-------+| sales_representative | varchar(255) | YES | MUL | NULL | |+----------------------+--------------+------+-----+---------+-------+1 row in set (0.00 sec)mysql>More information:
1) I cleaned my cache in both ‘rm -rf app/cache/*’ and ‘app/console cache:clear’ in DEV and PROD environments.2) I created the sales_representative field using Entity Management.
Thanks!
Rodolfo
The forum ‘OroPlatform’ is closed to new topics and replies.