symfony1 - "Missing class name" error on doctrine:build-schema -
i have project connects multiple databases. when run doctrine:build-schema, error says "missing class name."
any idea going on? suspect has fact i'm connecting multiple databases since project i'm having problem , project connect multiple databases.
edit: have 2 databases: galapagos
, survey
. looks problem has fact survey
has foreign keys reference tables in galapagos
. when take away these foreign keys, build-schema
works fine.
i'm no expert on doctrine maybe what's been happening galapagos relates class (table mean) survey, galapagos being parsed first, when reaches line like:
foreignclass: zaraza
it not understand talking willies :p. , try defining both databases on single file, or try alter orden in witch files being loaded. might help!
Comments
Post a Comment