Guest User

Untitled

a guest
Jul 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Category:
  2. tableName: category
  3. actAs:
  4. NestedSet:
  5. hasManyRoots: true
  6. rootColumnName: root_id
  7. Sluggable:
  8. unique: true
  9. fields: [name]
  10. canUpdate: true
  11. name: slug
  12. type: string
  13. length: 255
  14. columns:
  15. id:
  16. type: integer
  17. primary: true
  18. autoincrement: true
  19. name:
  20. type: string(100)
  21. notnull: true
  22. summary:
  23. type: string(140)
  24. notnull: false
  25.  
  26. Collection:
  27. inheritance:
  28. type: column_aggregation
  29. extends: Category
  30. keyField: root_id
  31. keyValue: 1
  32.  
  33. Type:
  34. inheritance:
  35. type: column_aggregation
  36. extends: Category
  37. keyField: root_id
  38. keyValue: 2
Add Comment
Please, Sign In to add comment