Advertisement
Guest User

Untitled

a guest
Nov 24th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. var UserSchema = mongoose.Schema({
  2. username: {
  3. type: String,
  4. index:true
  5. },
  6. password: {
  7. type: String
  8. },
  9. email: {
  10. type: String
  11. },
  12. gender: {
  13. type: String
  14. },
  15. name: {
  16. type: String
  17. },
  18. surname: {
  19. type: String
  20. },
  21. image: {
  22. type: String
  23. },
  24. birth_date: {
  25. type: String
  26. },
  27. birth_place: {
  28. type: String
  29. },
  30. personal_status: {
  31. type: String
  32. },
  33. religion: {
  34. type: String
  35. },
  36. nation: {
  37. type: String
  38. },
  39. place: {
  40. type: String
  41. },
  42. email_privat: {
  43. type: String
  44. },
  45. mobile: {
  46. type: String
  47. },
  48. phone: {
  49. type: String
  50. },
  51. phone_company: {
  52. type: String
  53. },
  54. function: {
  55. type: String
  56. },
  57. short: {
  58. type: String
  59. },
  60. start_time: {
  61. type: String
  62. },
  63. end_time: {
  64. type: String
  65. }
  66. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement