ok, thanks. that is not easy. here is my solution : for each project: - "php symfony doctrine:build-all-reload" - add in all files "project\lib\model\doctrine\sfDoctrineGuardPlugin \sfGuard*.class.php"
class sfGuardGroup extends PluginsfGuardGroup { public function setTableDefinition() { parent::setTableDefinition(); $this->setTableName('projectname_sfGuardGroup'); } } - "php symfony doctrine:build-all-reload" if anyone knows how to do better, tell me ? On 16 juil, 00:59, Nicolas Bazire <nicolas.baz...@gmail.com> wrote: > Maybe this will help you > :http://groups.google.com/group/symfony-users/browse_thread/thread/d8f... > > Have a nice day :-) > > Nicolas > > On Jul 15, 11:14 am, jforet <jfo...@gmail.com> wrote: > > > nobody ? > > please, tell me if I am not explicit... > > > On 12 juil, 22:22, jforet <jfo...@gmail.com> wrote: > > > > Hello, > > > > I have 2 projects which use the same database. > > > Each project uses the plugin sfDoctrineGuardPlugin. > > > > For each project, I have customize "plugins\sfDoctrineGuardPlugin > > > \config\doctrine\schema.yml" in adding table name : > > > for project 1 : > > > sfGuardGroup: > > > tableName: project1_sfGuardGroup > > > for project 2 : > > > sfGuardGroup: > > > tableName: project2_sfGuardGroup > > > > The problem is that for each new version of the plugin I have to > > > change the schema.yml. > > > Is there a solution to customize it from the main schema.yml ? > > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---