Nowe posty

Autor Wątek: ForeignTable: Symfony - błąd  (Przeczytany 3761 razy)

  • Gość
ForeignTable: Symfony - błąd
« dnia: 2010-12-04, 22:14:01 »
Mam problem: robię według podręcznika symfony 1.2 doctrine, pomimo to, parser yaml narzeka, że nie trawi foreignTable?

news:
       actAs: { Timestampable: ~ }
       columns:
                title:         { type: string(255), notnull: true, unique: false }
                description:   { type: string(65536), notnull: true, unique: false }
                author_id:     { type: integer, notnull: true, unique: false, foreignTable: user, foreignReference: id }
                creation_date: { type: datetime, notnull: true, unique: false }

user:
        actAs: { Timestampable: ~ }
        columns:
                name:          { type: string(255), notnull: true, unique: false }
                last_name:     { type: string(1024), notnull: true, unique: false }
                email:         { type: string(255), notnull: false, unique: true }
                creation_date: { type: date, notnull: true, unique: false }
Co robię źle?