Hello,

If you want to had custom fields into the model, you can overwrite the
setTableDefinition and setUp method on the generated class.

Thomas

On Mon, Oct 6, 2008 at 4:38 PM, Lee Bolding <[EMAIL PROTECTED]> wrote:
>
> Hi gang,
>
> I've just taken the leap and upgraded to both Symfony 1.1 and Doctrine
> for a new project I'm working on.
>
> So far, so good - learning curve for Doctrine doesn't seem that steep,
> and haven't yet got to the point of having fun with the new forms and
> validators stuff in Symfony 1.1
>
> Anyway, I'm using the sfGuardDoctrinePlugin - but, here's the catch -
> my users data is stored in a separate database to the rest of the data
> for my application, and it's a legacy database that I can't change the
> schema on.
>
> So, what I really need to do is utilise the component binding
> functionality of Doctrine, but also use the sfPropelAlternativeSchema
> plugin to change the schema of the sfGuard plugin - but, it's a Propel
> plugin, not a Doctrine one. I think to get around that I'll have to
> bite the bullet and manually change the schema for the plugin... but I
> can't see that I (or anyone else) will ever upgrade this plugin once
> the application is deployed and working.
>
> So, my question is : how do I configure Doctrine component binding via
> YAML? or do I need to do this in a config file such as
> ProjectConfiguration.class.php?
>
> Once that's done, how do I make my 'users' component available to use
> in my YAML for my other models?
>
> Thanks in advance....
>
>
>
> >
>



-- 
Thomas Rabaix
Internet Consultant

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to