Nowe posty

xx Dystrybucja pod HP Omen (6)
Wczoraj o 23:30:08
xx [Poradnik] Wyszukiwanie Sterowników (2)
Wczoraj o 21:08:23
lamp Problem z Linux Lite po instalacji (0)
Wczoraj o 19:50:30
xx Ile pingwinów? (1)
Wczoraj o 08:59:24
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: ForeignTable: Symfony - błąd  (Przeczytany 3752 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?