[FLOW3-general] Property is not created in the database
Stephen Bungert
stephenbungert at yahoo.de
Sat Feb 2 19:43:26 CET 2013
Am 02.02.2013 19:12, schrieb Stephen Bungert:
> Hello!
>
> The following property is not created when I run ./flow doctrine:update
>
> /**
> * The pages that make up the book.
> *
> * @var
> \Doctrine\Common\Collections\Collection<\Gamebook\Gamebook\Domain\Model\Page>
>
> * @ORM\OneToMany(mappedBy="book")
> * @ORM\OrderBy({"section" = "ASC"})
> */
> protected $pages;
>
> Does anyone see what I have done wrong... all the other fields are created.
>
> Stephen.
After I fixed some wrong class names in my page model and created some
pages, these pages are found and shown in the FE for the book... but
there is still no pages column on the book table. Is this how it is
suppossed to be in flow3? I thought it would be like TYPO3 where the
pages column would then keep a count of the number of pages associated
with a book.
Stephen.
More information about the FLOW3-general
mailing list