Guest User

Untitled

a guest
May 29th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. ---
  2. User:
  3. columns:
  4. id:
  5. primary: true
  6. autoincrement: true
  7. type: integer(4)
  8. username: string(255)
  9. password: string(255)
  10. email_id: integer(11)
  11. relations:
  12. Groups:
  13. class: Group
  14. refClass: UserGroup
  15. foreignAlias: Users
  16. Email:
  17. class: Email
  18. foreignType: one
  19. Phone:
  20. local: id
  21. foreign: owner_id
  22. type: many
  23.  
  24. Group:
  25. tableName: groups
  26. columns:
  27. id:
  28. primary: true
  29. autoincrement: true
  30. type: integer(4)
  31. name: string(255)
  32.  
  33. UserGroup:
  34. columns:
  35. user_id: integer(4)
  36. group_id: integer(4)
  37. relations:
  38. User:
  39. onDelete: CASCADE
  40. Group:
  41. onDelete: CASCADE
  42.  
  43. Email:
  44. columns:
  45. email: string(100)
  46.  
  47. Phone:
  48. columns:
  49. owner_id: integer(11)
  50. phone: string(12)
  51. areacode_id: integer(11)
  52.  
  53.  
  54.  
  55. GroupType:
  56. columns:
  57. typename: string(255)
  58. group_id: integer(11)
  59. relations:
  60. Group:
  61. foreignAlias: Grouptypes
  62.  
  63.  
  64. AreaCode:
  65. columns:
  66. areacode: integer(3)
  67. relations:
  68. Phone:
  69. local: id
  70. foreign: areacode_id
  71. type: many
Add Comment
Please, Sign In to add comment