db_structure.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <database>
  3. <name>*dbname*</name>
  4. <create>false</create>
  5. <overwrite>false</overwrite>
  6. <charset>utf8</charset>
  7. <table>
  8. <name>*dbprefix*cntcts_addrsbks</name>
  9. <declaration>
  10. <field>
  11. <name>id</name>
  12. <type>integer</type>
  13. <default>0</default>
  14. <notnull>true</notnull>
  15. <autoincrement>1</autoincrement>
  16. <unsigned>true</unsigned>
  17. <length>4</length>
  18. </field>
  19. <field>
  20. <name>userid</name>
  21. <type>text</type>
  22. <default></default>
  23. <notnull>true</notnull>
  24. <length>255</length>
  25. </field>
  26. <field>
  27. <name>displayname</name>
  28. <type>text</type>
  29. <default></default>
  30. <notnull>false</notnull>
  31. <length>255</length>
  32. </field>
  33. <field>
  34. <name>uri</name>
  35. <type>text</type>
  36. <default></default>
  37. <notnull>false</notnull>
  38. <length>200</length>
  39. </field>
  40. <field>
  41. <name>description</name>
  42. <type>text</type>
  43. <notnull>false</notnull>
  44. <length>255</length>
  45. </field>
  46. <field>
  47. <name>ctag</name>
  48. <type>integer</type>
  49. <default>1</default>
  50. <notnull>true</notnull>
  51. <unsigned>true</unsigned>
  52. <length>4</length>
  53. </field>
  54. <field>
  55. <name>active</name>
  56. <type>integer</type>
  57. <default>1</default>
  58. <notnull>true</notnull>
  59. <length>4</length>
  60. </field>
  61. </declaration>
  62. </table>
  63. <table>
  64. <name>*dbprefix*cntcts_cards</name>
  65. <declaration>
  66. <field>
  67. <name>id</name>
  68. <type>integer</type>
  69. <default>0</default>
  70. <notnull>true</notnull>
  71. <autoincrement>1</autoincrement>
  72. <unsigned>true</unsigned>
  73. <length>4</length>
  74. </field>
  75. <field>
  76. <name>addressbookid</name>
  77. <type>integer</type>
  78. <default></default>
  79. <notnull>true</notnull>
  80. <unsigned>true</unsigned>
  81. <length>4</length>
  82. </field>
  83. <field>
  84. <name>fullname</name>
  85. <type>text</type>
  86. <default></default>
  87. <notnull>false</notnull>
  88. <length>255</length>
  89. </field>
  90. <field>
  91. <name>carddata</name>
  92. <type>clob</type>
  93. <notnull>false</notnull>
  94. </field>
  95. <field>
  96. <name>uri</name>
  97. <type>text</type>
  98. <default></default>
  99. <notnull>false</notnull>
  100. <length>200</length>
  101. </field>
  102. <field>
  103. <name>lastmodified</name>
  104. <type>integer</type>
  105. <default></default>
  106. <notnull>false</notnull>
  107. <unsigned>true</unsigned>
  108. <length>4</length>
  109. </field>
  110. </declaration>
  111. </table>
  112. <table>
  113. <name>*dbprefix*vcategory</name>
  114. <declaration>
  115. <field>
  116. <name>id</name>
  117. <type>integer</type>
  118. <default>0</default>
  119. <notnull>true</notnull>
  120. <autoincrement>1</autoincrement>
  121. <unsigned>true</unsigned>
  122. <length>4</length>
  123. </field>
  124. <field>
  125. <name>uid</name>
  126. <type>text</type>
  127. <default></default>
  128. <notnull>true</notnull>
  129. <length>64</length>
  130. </field>
  131. <field>
  132. <name>type</name>
  133. <type>text</type>
  134. <default></default>
  135. <notnull>true</notnull>
  136. <length>64</length>
  137. </field>
  138. <field>
  139. <name>category</name>
  140. <type>text</type>
  141. <default></default>
  142. <notnull>true</notnull>
  143. <length>255</length>
  144. </field>
  145. </declaration>
  146. </table>
  147. <table>
  148. <name>*dbprefix*timestamp</name>
  149. <declaration>
  150. <field>
  151. <name>id</name>
  152. <autoincrement>1</autoincrement>
  153. <type>integer</type>
  154. <default>0</default>
  155. <notnull>true</notnull>
  156. <length>4</length>
  157. </field>
  158. <field>
  159. <name>timestamptest</name>
  160. <type>timestamp</type>
  161. <default></default>
  162. <notnull>false</notnull>
  163. </field>
  164. </declaration>
  165. </table>
  166. <table>
  167. <name>*dbprefix*decimal</name>
  168. <declaration>
  169. <field>
  170. <name>id</name>
  171. <autoincrement>1</autoincrement>
  172. <type>integer</type>
  173. <default>0</default>
  174. <notnull>true</notnull>
  175. <length>4</length>
  176. </field>
  177. <field>
  178. <name>decimaltest</name>
  179. <type>decimal</type>
  180. <default/>
  181. <notnull>true</notnull>
  182. <length>15</length>
  183. </field>
  184. </declaration>
  185. </table>
  186. </database>