Relations are defined by (at less) 3 attributes : class, local, foreign.
Read Doctrine Documentation ( on doctrine-project.org) about relations, your
schema is missing some informations.
Alex'
2009/11/29 Trailfinder beer...@gmail.com
Hi All,
Could somebody help me with a schema for a
Hey...if that is the exact replica of the schema in the YAML file, you are
getting the identation wrong.
It should be
Ticket:
actAs:
basically, make sure u space out the columns twice after the table...other
than that...put your column attributes in curly brackets such as
id: {type:
Hi All,
Could somebody help me with a schema for a ticketing system. Problem
is that after reading the documentation on both Symfony and Doctrine I
still have problems figuring out how to use relations in YAML.
Ticket:
actAs: [Timestampable]
columns:
id:
type: integer(4)
primary: