There are two ways.
- Extending the sfGuardUser model
- Create a Profile model 1:1
The second one is the most recommended specially if you are planing to have a lot of information inside your user model. But if you have only an avatar field to add, extending sfGuardUser is more convenient.
To do so, put the new sfGuardUser.schema.yml inside your /config/ folder. It will be used instead of the plugin one's.
To create a "Profile" there is nothing particular to know about:
Profile:
tableName: profile
columns:
sf_guard_user_id: integer
firstname: varchar(100)
phone: varchar(15)
relations:
sfGuardUser: { class: sfGuardUser, onDelete: CASCADE, local: sf_guard_user_id, foreign: id, foreignType: one }