Advertisement
Guest User

Untitled

a guest
May 14th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. KarcherMake:
  2. actAs: { Timestampable: ~ }
  3. columns:
  4. name: { type: string(255), notnull: true}
  5. description: { type: string(255), notnull: false }
  6. status: { type: integer, notnull:false, default: 0 }
  7. thumb_img: { type: string(255), notnull: false }
  8. header_img: { type: string(255), notnull: false}
  9. image: { type: string(255), notnull: false }
  10.  
  11. KarcherSuperCategory:
  12. actAs: { Timestampable: ~ }
  13. columns:
  14. make_id: { type: integer, notnull: false }
  15. name: { type: string(255), notnull: true}
  16. description: { type: string(255), notnull: false}
  17. status: { type: integer, notnull:false, default: 0 }
  18. thumb_img: { type: string(255), notnull: false}
  19. header_img: { type: string(255), notnull: false }
  20. image: { type: string(255), notnull: false }
  21.  
  22. KarcherCategory:
  23. actAs: { Timestampable: ~ }
  24. columns:
  25. supercategory_id: { type: integer, notnull: true }
  26. name: { type: string(255), notnull: true }
  27. description: { type: string(255), notnull: false }
  28. status: { type: integer, notnull:false, default: 0 }
  29. thumb_img: { type: string(255), notnull: false }
  30. header_img: { type: string(255), notnull: false }
  31. image: { type: string(255), notnull: false }
  32. relations:
  33. KarcherSuperCategory: { local: supercategory_id, foreign: id, foreignAlias: KarcherCategories, onDelete: CASCADE }
  34.  
  35. KarcherContent:
  36. actAs: { Timestampable: ~ }
  37. columns:
  38. category_id: { type: integer, notnull: true }
  39. kind: { type: string(255) }
  40. header: { type: string(255) }
  41. intro: { type: string(255) }
  42. copy: { type: clob, notnull: false }
  43. image: { type: string(255) }
  44. additional1: { type: clob, notnull: false }
  45. additional2: { type: clob, notnull: false }
  46. additional3: { type: clob, notnull: false }
  47. additional4: { type: clob, notnull: false }
  48. additional5: { type: clob, notnull: false }
  49. additional5: { type: clob, notnull: false }
  50. additional6: { type: clob, notnull: false }
  51. additional7: { type: clob, notnull: false }
  52. additional8: { type: clob, notnull: false }
  53. additional9: { type: clob, notnull: false }
  54. additional10: { type: clob, notnull: false }
  55. additional11: { type: clob, notnull: false }
  56. additional12: { type: clob, notnull: false }
  57. additional13: { type: clob, notnull: false }
  58. additional14: { type: clob, notnull: false }
  59. additional15: { type: clob, notnull: false }
  60. position: { type: integer, notnull:false, default: 10}
  61. link: { type: string(255) }
  62. status: { type: integer, notnull:false, default: 0 }
  63. focus: { type: integer, notnull:false, default: 0 }
  64. created_at:
  65. updated_at:
  66. relations:
  67. KarcherCategory: { local: category_id, foreign: id, foreignAlias: KarcherContents, onDelete: CASCADE }
  68.  
  69. KarcherSpecLeft:
  70. actAs: { Timestampable: ~ }
  71. columns:
  72. category_id: { type: integer, notnull: true }
  73. header1: { type: string(255) }
  74. header2: { type: string(255) }
  75. header3: { type: string(255) }
  76. header4: { type: string(255) }
  77. header5: { type: string(255) }
  78. header6: { type: string(255) }
  79. header7: { type: string(255) }
  80. header8: { type: string(255) }
  81. header9: { type: string(255) }
  82. header10: { type: string(255) }
  83. header11: { type: string(255) }
  84. header12: { type: string(255) }
  85. header13: { type: string(255) }
  86. header14: { type: string(255) }
  87. header15: { type: string(255) }
  88. created_at:
  89. updated_at:
  90. relations:
  91. KarcherCategory: { local: category_id, foreign: id, foreignAlias: KarcherSpecLefts }
  92.  
  93. KarcherStatic:
  94. actAs: { Timestampable: ~ }
  95. columns:
  96. kind: { type: string(255) }
  97. header: { type: string(255) }
  98. intro: { type: string(255) }
  99. copy: { type: clob, notnull: false }
  100. image: { type: string(255) }
  101. additional1: { type: clob, notnull: false }
  102. additional2: { type: clob, notnull: false }
  103. additional3: { type: clob, notnull: false }
  104. additional4: { type: clob, notnull: false }
  105. additional5: { type: clob, notnull: false }
  106. link: { type: string(255) }
  107. status: { type: integer, notnull:false, default: 0 }
  108. focus: { type: integer, notnull:false, default: 0 }
  109. created_at:
  110. updated_at:
  111.  
  112. KarcherNews:
  113. actAs: {Timestampable: ~ }
  114. columns:
  115. header: { type: string(255) }
  116. intro: { type: string(255) }
  117. copy: { type: string(255) }
  118. link: { type: string(255) }
  119. status: { type: integer, notnull:false, default: 0 }
  120. focus: { type: integer, notnull:false, default: 0 }
  121. image: { type: string(255) }
  122. created_at:
  123. updated_at:
  124.  
  125. KarcherUser:
  126. actAs: { Timestampable: ~ }
  127. columns:
  128. username: { type: string(255), notnull: true }
  129. password: { type: string(255), notnull: true }
  130. email: { type: string(255), notnull: true, unique: true }
  131. status: { type: integer, notnull: true, default: 0 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement