[FLOW3-general] ORM Problems with 1.0
"Christian Müller (Kitsunet)"
christian.mueller at typo3.org
Fri Oct 28 12:00:15 CEST 2011
On 28/10/11 11:38, Patrick Sernetz wrote:
> Hi Folks,
>
> I really have a problem with the doctrine in flow3. I´ve tried to setup a
> OneToOne Relation within the domain model. According to the doctrine
> documentation, this should be fine. BUt I am running into a problem when
> updating the scheme with the flow commandline tool.
>
> /**
> * @var PS\Test\Domain\Model\EmailAddress
> * @ORM\OneToOne
> */
> protected $from;
>
My guess would be that "from" is reserved keyword for the database and
we don't catch this so far (table fields for properties are named after
the property, so this would create a column "from" in the DB which could
be forbidden). Try to change the name of the property.
Christian
More information about the FLOW3-general
mailing list