Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. Ipblock:
  2. columns:
  3. id:
  4. type: integer
  5. primary: true
  6. autoincrement: true
  7. unsigned: true
  8. name:
  9. type: string(100)
  10. gateway:
  11. type: string(100)
  12. ns1:
  13. type: string(100)
  14. ns2:
  15. type: string(100)
  16. cidr:
  17. type: integer(4)
  18. unsigned: 1
  19. notnull: true
  20. iptype:
  21. type: integer(1)
  22. unsigned: 1
  23. default: '4'
  24. notnull: true
  25. internal:
  26. type: integer(1)
  27. unsigned: 1
  28. default: '0'
  29. relations:
  30. Servers:
  31. foreignAlias: Ipblocks
  32. class: Server
  33. refClass: ServerBlock
  34.  
  35. Server:
  36. columns:
  37. id:
  38. type: integer
  39. primary: true
  40. autoincrement: true
  41. unsigned: true
  42. name:
  43. type: string(100)
  44. ip:
  45. type: string(128)
  46. hostname:
  47. type: string(100)
  48. username:
  49. type: string(100)
  50. password:
  51. type: string(100)
  52. port:
  53. type: integer(4)
  54. unsigned: 1
  55. default: '8888'
  56. notnull: true
  57. location:
  58. type: string(100)
  59. status:
  60. type: integer(1)
  61. unsigned: 1
  62. default: '1'
  63. notnull: true
  64. arch:
  65. type: string(10)
  66. default: i386
  67. notnull: true
  68. servertype_id:
  69. type: integer
  70. unsigned: true
  71. relations:
  72. Ipblocks:
  73. foreignAlias: Servers
  74. class: Ipblock
  75. refClass: ServerBlock
  76.  
  77. ServerBlock:
  78. columns:
  79. server_id:
  80. type: integer
  81. primary: true
  82. unsigned: true
  83. ipblock_id:
  84. type: integer
  85. primary: true
  86. unsigned: true
  87. relations:
  88. Server:
  89. foreignAlias: ServerBlocks
  90. Ipblock:
  91. foreignAlias: ServerBlocks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement