This topic contains 11 replies, has 6 voices, and was last updated by Martin 5 years, 10 months ago.
- Topic
When I remove a field from Entity Class and apply the change to the database I do the followings:
12345678php app/console doctrine:cache:clear-metadata# Make sure I am going to delete a field that I mean tophp app/console doctrine:schema:update --dump-sql# Delete the fieldphp app/console doctrine:schema:update --forceWhen I do that the field data is left in the tables “oro_entity_config_xxx” (e.g. oro_entity_config_field) and I manually have to delete the records as being troubled with the foreign keys.
I know “php app/console oro:entity-config:xxx” commands take care when I add a new field and they do not when I delete a field.
What is the proper way to update those tables after deleting a field?
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.