Advertisement
Guest User

Untitled

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