1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
sfGuardUser:
actAs: [Timestampable]
columns:
id: { type: integer(4), primary: true, autoincrement: true }
username: { type: string(128), notnull: true, unique: true }
algorithm: { type: string(128), default: sha1, notnull: true }
salt: string(128)
password: string(128)
is_active: { type: boolean, default: 1 }
is_super_admin: { type: boolean, default: false }
last_login: { type: timestamp }
premiere_connexion: { type: boolean, default: 1 }
indexes:
is_active_idx:
fields: [is_active]
relations:
groups: { class: sfGuardGroup, local: user_id, foreign: group_id, refClass: sfGuardUserGroup, foreignAlias: Users }
permissions: { class: sfGuardPermission, local: user_id, foreign: permission_id, refClass: sfGuardUserPermission, foreignAlias: Users } |
Partager