Doctrine 2 - ORM

Column name `id` referenced for relation from EntityB towards EntityA does not exist.