Kod
Program:
tableName: Program
columns:
name: {type: string(100)}
coord: {type: string(3000)}
watch: {type: string(3000)}
active: {type: boolean, default: 0}
created_at: timestamp
updated_at: timestamp
Html:
tableName: Html
columns:
program_id:
foreignClass: Program
cascadeDelete: false
content: {type: string(3000)}
created_at: timestamp
updated_at: timestamp
active: {type: boolean, default: 0}
Event:
tableName: Event
columns:
program_id:
foreignClass: Program
cascadeDelete: true
name: {type: string(100)}
content: {type: string(3000)}
datestart: {type: date}
dateend: {type: date}
created_at: timestamp
updated_at: timestamp
tableName: Program
columns:
name: {type: string(100)}
coord: {type: string(3000)}
watch: {type: string(3000)}
active: {type: boolean, default: 0}
created_at: timestamp
updated_at: timestamp
Html:
tableName: Html
columns:
program_id:
foreignClass: Program
cascadeDelete: false
content: {type: string(3000)}
created_at: timestamp
updated_at: timestamp
active: {type: boolean, default: 0}
Event:
tableName: Event
columns:
program_id:
foreignClass: Program
cascadeDelete: true
name: {type: string(100)}
content: {type: string(3000)}
datestart: {type: date}
dateend: {type: date}
created_at: timestamp
updated_at: timestamp
po zbudowaniu modelu i poprawnym załadowaniu do bazy danych
po stworzeniu
/polites/apps/backend,
/polites/apps/backend/module/program,
/polites/apps/backend/module/event,
/polites/apps/backend/module/html
wywołuje:
Kod
symfony doctrine-generate-crud backend event Event
otrzymuje:
Kod
[sfInitializationException]
Unable to scaffold unexistant model "Event"
Unable to scaffold unexistant model "Event"
nie pomaga:
Kod
symfony cc
Gdy zaglądam do /polites/lib/, to mam tam wygenerowane klasy - niczego nie brakuje.
Na forum symfony-project.com i phpdoctrine.net nic nie znalazłem

Na razie działam pod WindowsXP. Plugin sfDoctrine jest w wersji 4522.