Guest User

Untitled

a guest
Jan 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. SfGuardUserProfile:
  2. actAs:
  3. #JCroppable:
  4. # images: [avatar]
  5. Sluggable:
  6. fields: [firstname, lastname]
  7. options:
  8. notnull: true
  9. columns:
  10. id:
  11. type: integer(4)
  12. primary: true
  13. unique: true
  14. notnull: true
  15. is_ce:
  16. type: boolean
  17. default: 0
  18. firstname:
  19. type: string(255)
  20. notnull: true
  21. lastname:
  22. type: string(255)
  23. notnull: true
  24. birthdate:
  25. type: date
  26. notnull: true
  27. gender:
  28. type: enum
  29. values: ['man','woman']
  30. notnull: true
  31. email:
  32. type: string(255)
  33. notnull: true
  34. email_is_public:
  35. type: boolean
  36. default: 1
  37. notnull: true
  38. type_job_id:
  39. type: integer(1)
  40. notnull: true
  41. bio:
  42. type: string(1000)
  43. accepted_at:
  44. type: date
  45. relations:
  46. sfGuardUser:
  47. local: id
  48. foreign: id
  49. type: one
  50. foreignType: one
  51. foreignAlias: Profile
  52. alias: User
  53. onDelete: CASCADE
  54. TypeJob:
  55. local: type_job_id
  56. foreign: id
  57. type: one
Add Comment
Please, Sign In to add comment