[FLOW3-general] Kickstart a model with relationship table
"Christian Müller (Kitsunet)"
christian.mueller at typo3.org
Mon Nov 28 10:53:58 CET 2011
Hi,
you need to add the annotation to the user property in CoffeeBean class,
so that doctrine knows what kind of relation you want. And actually I
see this error message is a bit outdated, the annotations should be
prefixed, like:
@ORM\ManyToOne
if you have a use statement like this at the top of your class file:
use Doctrine\ORM\Mapping as ORM;
So just add the annotation you want and everything should be ok. The
kickstarter can't know what relation you want to create there so it
doesn't annotate anything.
Cheers,
Christian
More information about the FLOW3-general
mailing list