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'

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top