Question

I am to integrate sfGuard plugin with existing application. What I want to do is to keep as much code as possible untouched. Any guides? It'd be perfect if I can use actual database schema, or bind it somehow to be used by sfGuard. I know about setting userProfile class but I'm not sure how should I get to it, not to destroy my app.

Greetings

Était-ce utile?

La solution

Just install plugin. And try make migrations. doctrine::generate-migrations-diff

php symfony doctrine:generate-migrations-diff 

And migrate php symfony doctrine:migrate :

php symfony doctrine:migrate 

Check out question: Rebuild model without loss data in MySQL for Symfony

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