I think that you are looking for something like this:

detect_relations: true

Profile:
  columns:
    sf_guard_user_id: integer(4)
    first_name: string(255)
    middle_name: string(255)
    last_name: string(255)
    email_address: string(255)
  relations:
    User:
      class: sfGuardUser
      foreignType: one

InfrequentlyAccessed:
  columns:
    sf_guard_user_id: integer(4)
    favorite_song: string(255)
    waist_size: interger(4)
  relations:
    User:
      class: sfGuardUser
      foreignType: one

This way you will have two "user profiles", both pointing at the user
table.

Is this what you are talking about?

On Jan 31, 1:23 pm, ReynierPM <[email protected]> wrote:
> Hi every:
> I'm building a application based on Symfony and sfDoctrineGuard. The ER
> design of the DB have a lot of tables asociated to sf_guard_users table
> so exists more than one table storing profiles fields. Wich are the
> better ways to deal with this?
> --
> Cheers and thx in advance
> ReynierPM

-- 
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