I want to make Doctrine 2 extension, that will add an extra field to entity. I will also need new table. Field and table will be based on my custom annotation added to that entity. I think it must be added somehow in loadClassMetadata
event.
can You provide some info how to achieve this?