I\'m having a problem with my mapping. I can\'t get it to work. I have an abstract base class like so:
/**
* @Entity
* @Table(name=\"actions\")
* @Inheritance
You are using joined
inheritance model (class table inheritance), which uses a separate table for parent and each child. If you don't specify any fields in the child class, Doctrine will just create a table only containing ID field.
And a parent class can only use one type of inheritance, either class table inheritance or single table inheritance.
In that case, if you don't want to have a table with only id column in it, you need to change your data model.