Answer the question
In order to leave comments, you need to log in
Doctrine Mapped Superclass index column ID not found on child table?
<mapped-superclass name="App\Domain\Token\Entity\AbstractToken">
<embedded name="id" class="App\Domain\Core\ValueObjects\EntityId" use-column-prefix="false"/>
<embedded name="secret" class="App\Domain\Token\ValueObject\TokenSecret" use-column-prefix="false"/>
// ok
...
<entity name="App\Domain\Token\Entity\AnonToken">
<indexes>
<index name="token_search_index" columns="id,secret"/>
</indexes>
</entity>
class AbstractToken implements IAggregateRoot {
public EntityId $id;
private TokenSecret $secret;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question