[FLOW3-general] Kickstart a model with relationship table
Rayuth You
rayuth at typo3cambodia.org
Mon Nov 28 10:23:07 CET 2011
Hi list
When I run command line below:
./flow3 kickstart:model --force Acme.Demo CoffeeBean title:string
description:string created date:Date\Time
'user:\Acme\Demo\Domain\Model\User'
I got error message belove:
Uncaught Exception
The mapping of field 'user' is invalid: The option 'OneToOne' is
required. (Hint: The property "user" in class
"Acme\Demo\Domain\Model\CoffeeBean" has a non standard data type
and doesn't define the type of the relation. You have to use one of these
annotations: @OneToOne, @OneToMany, @ManyToOne, @ManyToMany)
But when I go to see file structure, it already create that model for
me. And I already have model "user".
What should I do?
Best regards,
Yuth
--
Khmer TYPO3 User Group
Spirit of sharing
Rayuth You
Web Developer
M: +855 11 262 078
E: rayuth at typo3cambodia.org
More information about the FLOW3-general
mailing list