Hi all,

Perhaps I'm being dumb but shouldn't it be possible to do this?

sfGuardUser:
  sfGuardUser_1:
    username:       clearintent
    password:       Muaddib
    is_super_admin: true
      sfGuardUserProfile:
        first_name: Clear
        last_name: Intent
        email: m...@mail.com

in the sfGuard fixtures file so it populates the profile table as
well.

schema is:

 sf_guard_user_profile:
    _attributes: { phpName: sfGuardUserProfile }
    id:
    user_id:     { type: integer, foreignTable: sf_guard_user,
foreignReference: id, required: true, onDelete: cascade }
    email:
      type: varchar(100)
      notnull: true
      unique: true
    first_name:
      varchar(30)
    last_name:
      varchar(50)

I get "Unable to parse line 7 (  sfGuardUserProfile:)"  - :-(

Anyone?

P

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to