Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Symfony 1.4
- PHP 5.2.9
- MySQL 5.0.81
- I'm having exactly the same issue but the posted solution isn't working for me.
- schema.yml:
- Schedule:
- columns:
- kickoff:
- type: timestamp
- notnull: true
- venue_id:
- type: integer(4)
- home_id:
- type: integer(4)
- away_id:
- type: integer(4)
- relations:
- venue:
- class: venue
- local: venue_id
- foreign: id
- foreignAlias: schedules
- home:
- class: team
- local: home_id
- foreign: id
- foreignAlias: schedules
- away:
- class: team
- local: away_id
- foreign: id
- foreignAlias: schedules
- fixtures.yml:
- Schedule:
- Match_1:
- kickoff: '2010-06-11 16:00:00'
- Venue: Venue_2
- Home: Team_1
- Away: Team_2
- symfony doctrine:build --all --and-load Error message:
- Unknown record property / related component "home" on "Schedule"
- Does anyone know where I'm going wrong?
Add Comment
Please, Sign In to add comment