Question

I need to maintain a symfony 1.4 app , the app uses doctrine (1.2 I guess). The problem is that people modified the databse without using doctrine. To fix this i tried to update the doctrine models this way:

symfony doctrine:build-schema
symfony doctrine:build-model

Both does not show any errors but when I access the website everything fails due to db problems.

I got errors like 'unknown aliases'

Était-ce utile?

La solution

following sriniwas advice everything went well , i guess ORM are not meant to do everything :(

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top