[symfony-users] Overriding plugin schema with doctrine and sf 1.2
Hi all, In March, Jonathan Wage wrote: Add this to the top of the plugin: package: sfDoctrineGuardPlugin.lib.model.doctrine This package option is automatically added to the schema files found in plugins so that the models are all generated in the right places. When you copy that schema file you just need to set that manually so they are generated in the right place. i'm trying to override the schema in sfDoctrineGuardPlugin with a sfDoctrineGuardPlugin.schema.yml inside config/doctrine folder but i keep bumping my head against Cannot use package parameter in symfony Doctrine schema files. or Cannot redeclare class BasesfGuardGroup (sfDoctrineGuardPlugin.schema.yml generates model in lib/model/doctrine instead of lib/model/doctrine/sfDoctrineGuardPlugin any ideas on how to override the schema.yml cleanly ? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[symfony-users] Overriding plugin schema with doctrine and sf 1.2
Hi all, I'm looking for a way to cleanly override à plugin schema file. My problem is that the column definitions of the sfGuardUser plugin doesn't fit my needs. Ideally i'd like to have something like this http://www.librosweb.es/symfony_1_1_en/capitulo17/plugins.html see the New in symfony 1.1: Customizing the plug-in schema part. But this is for propel and not doctrine. I know i could override the php setTable() definition, but if possible i would like to have it in a yml file. Thanks, Nicolas- --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---