eclipse - Symfony2 - retrieve old Entity after doctrine:mapping:import -


i generated entities existing database in symfony2. problem 1 of entities modified erased 1 db table , retrieve modifications.

here did:

php app/console doctrine:mapping:convert xml ./src/acme/blogbundle/resources/config/doctrine/metadata/orm --from-database --force  php app/console doctrine:mapping:import acmeblogbundle annotation  php app/console doctrine:generate:entities acmeblogbundle 

i tried in local history files generated when did commands, there not in history.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -