Advertisement
Guest User

Untitled

a guest
Jun 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Question:
  2. actAs:
  3. Timestampable: ~
  4. connection: doctrine
  5. tableName: question
  6. columns:
  7. id:
  8. type: integer(4)
  9. fixed: false
  10. unsigned: false
  11. primary: true
  12. autoincrement: true
  13. title:
  14. type: string()
  15. fixed: false
  16. unsigned: false
  17. primary: false
  18. notnull: false
  19. autoincrement: false
  20. stripped_title:
  21. type: varchar(255)
  22. fixed: false
  23. unsigned: false
  24. primary: false
  25. notnull: false
  26. autoincrement: false
  27. body:
  28. type: string()
  29. fixed: false
  30. unsigned: false
  31. primary: false
  32. notnull: false
  33. autoincrement: false
  34. user_id:
  35. type: integer(4)
  36. fixed: false
  37. unsigned: false
  38. primary: false
  39. notnull: true
  40. autoincrement: false
  41. interested_users:
  42. type: integer(4)
  43. fixed: false
  44. unsigned: false
  45. primary: false
  46. notnull: false
  47. default: 0
  48. relations:
  49. User:
  50. local: user_id
  51. foreign: id
  52. type: one
  53. Answer:
  54. local: id
  55. foreign: question_id
  56. type: many
  57. Interest:
  58. local: id
  59. foreign: question_id
  60. type: many
  61. User:
  62. actAs:
  63. Timestampable:
  64. created:
  65. name: created_at
  66. type: timestamp
  67. updated:
  68. disabled: true
  69. connection: doctrine
  70. tableName: user
  71. columns:
  72. id:
  73. type: integer(4)
  74. fixed: false
  75. unsigned: false
  76. primary: true
  77. autoincrement: true
  78. first_name:
  79. type: string(100)
  80. fixed: false
  81. unsigned: false
  82. primary: false
  83. notnull: false
  84. autoincrement: false
  85. last_name:
  86. type: string(100)
  87. fixed: false
  88. unsigned: false
  89. primary: false
  90. notnull: false
  91. autoincrement: false
  92. nickname:
  93. type: string(100)
  94. fixed: false
  95. unsigned: false
  96. primary: false
  97. notnull: false
  98. autoincrement: false
  99. email:
  100. type: string(100)
  101. sha1_password:
  102. type: string(40)
  103. salt:
  104. type: string(32)
  105. relations:
  106. Answer:
  107. local: id
  108. foreign: user_id
  109. type: many
  110. Interest:
  111. local: id
  112. foreign: user_id
  113. type: many
  114. Question:
  115. local: id
  116. foreign: user_id
  117. type: many
  118. Relevancy:
  119. local: id
  120. foreign: user_id
  121. type: many
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement