Advertisement
Guest User

Untitled

a guest
May 29th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.87 KB | None | 0 0
  1. sfGuardUser:
  2.   actAs: [Timestampable]
  3.   columns:
  4.     id:
  5.       type: integer(4)
  6.       primary: true
  7.       autoincrement: true
  8.     username:
  9.       type: string(128)
  10.       notnull: true
  11.       unique: true
  12.     algorithm:
  13.       type: string(128)
  14.       default: sha1
  15.       notnull: true
  16.     salt: string(128)
  17.     password: string(128)
  18.     is_active:
  19.       type: boolean
  20.       default: 1
  21.     is_super_admin:
  22.       type: boolean
  23.       default: false
  24.     last_login:
  25.       type: timestamp
  26.   indexes:
  27.     is_active_idx:
  28.       fields: [is_active]
  29.   relations:
  30.     groups:
  31.       class: sfGuardGroup
  32.       local: user_id
  33.       foreign: group_id
  34.       refClass: sfGuardUserGroup
  35.       foreignAlias: Users
  36.     permissions:
  37.       class: sfGuardPermission
  38.       local: user_id
  39.       foreign: permission_id
  40.       refClass: sfGuardUserPermission
  41.       foreignAlias: Users
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement