What I want to do is optimize my database by removing unnecessary fields from ProductTable.
My app is based on e-commerce Sonata. I want to remove the "ShortDescription" field from the Product object. The mapping was defined in the provider, so I cannot easily remove the field.
I tried:
<attribute-override name="rawShortDescription">
<field />
</attribute-override>
And it does not work.
The doctrine documentation says that there is no way to override a column type. Does this mean that I cannot delete the field?
Can I delete a field defined in a provider?
source
share