Guest User

Untitled

a guest
Jul 3rd, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. //schema.yml
  2.  
  3. User:
  4. actAs:
  5. Timestampable: ~
  6. columns:
  7. username:
  8. type: string(20)
  9. notnull: true
  10. firstname:
  11. type: string(45)
  12. notnull: false
  13. surname:
  14. type: string(45)
  15. notnull: false
  16. age:
  17. type: string(45)
  18. notnull: false
  19. email:
  20. type: string(45)
  21. notnull: true
  22. registered:
  23. type: timestamp
  24. notnull: true
  25. password:
  26. type: string(20)
  27. notnull: true
  28. clan:
  29. type: string(45)
  30. notnull: false
  31. clantag:
  32. type: string(20)
  33. notnull: false
  34. irc:
  35. type: string(45)
  36. notnull: false
  37. icq:
  38. type: string(45)
  39. notnull: false
  40. msn:
  41. type: string(45)
  42. notnull: false
  43. xray:
  44. type: string(200)
  45. notnull: false
  46. skype:
  47. type: string(20)
  48. notnull: false
  49. online_account:
  50. type: string(20)
  51. notnull: false
  52. city:
  53. type: string(20)
  54. notnull: false
  55. description:
  56. type: blob
  57. notnull: false
  58. nationality:
  59. type: string(10)
  60. notnull: false
  61. status:
  62. type: string(45)
  63. notnull: false
  64. activation_code:
  65. type: string(45)
  66. notnull: false
  67. activated:
  68. type: boolean
  69. notnull: false
  70. banned:
  71. type: boolean
  72. notnull: false
  73. ip:
  74. type: string(50)
  75. notnull: false
  76. last_login:
  77. type: timestamp
  78. notnull: false
  79. action:
  80. type: string(45)
  81. notnull: false
  82. group_id:
  83. type: integer
  84. notnull: true
  85. created_at:
  86. type: timestamp
  87. notnull: true
  88. updated_at:
  89. type: timestamp
  90. notnull: false
  91. updated_from:
  92. type: integer
  93. notnull: false
  94. deleted_at:
  95. type: timestamp
  96. notnull: false
  97. deleted_from:
  98. type: integer
  99. notnull: false
  100. relations:
  101. Group:
  102. class: UserGroup
  103. local: group_id
  104. foreign: id
  105.  
  106.  
  107. UserGroup:
  108. actAs:
  109. Timestampable: ~
  110. columns:
  111. name:
  112. type: string(60)
  113. notnull: true
  114. created_at:
  115. type: timestamp
  116. notnull: true
  117. created_from:
  118. type: integer
  119. notnull: true
  120. updated_at:
  121. type: timestamp
  122. notnull: false
  123. updated_from:
  124. type: integer
  125. notnull: false
  126. deleted_at:
  127. type: timestamp
  128. notnull: false
  129. deleted_from:
  130. type: integer
  131. notnull: false
Add Comment
Please, Sign In to add comment