1
0

db_structure2.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <database>
  3. <name>*dbname*</name>
  4. <create>true</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>true</notnull>
  38. <length>200</length>
  39. </field>
  40. <field>
  41. <name>description</name>
  42. <type>text</type>
  43. <notnull>false</notnull>
  44. <length>1024</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>1</length>
  60. </field>
  61. </declaration>
  62. </table>
  63. <table>
  64. <name>*dbprefix*timestamp</name>
  65. <declaration>
  66. <field>
  67. <name>id</name>
  68. <autoincrement>1</autoincrement>
  69. <type>integer</type>
  70. <default>0</default>
  71. <notnull>true</notnull>
  72. <length>4</length>
  73. </field>
  74. <field>
  75. <name>timestamptest</name>
  76. <type>timestamp</type>
  77. <default></default>
  78. <notnull>false</notnull>
  79. </field>
  80. </declaration>
  81. </table>
  82. <table>
  83. <name>*dbprefix*decimal</name>
  84. <declaration>
  85. <field>
  86. <name>id</name>
  87. <autoincrement>1</autoincrement>
  88. <type>integer</type>
  89. <default>0</default>
  90. <notnull>true</notnull>
  91. <length>4</length>
  92. </field>
  93. <field>
  94. <name>decimaltest</name>
  95. <type>decimal</type>
  96. <default/>
  97. <notnull>true</notnull>
  98. <precision>12</precision>
  99. <scale>2</scale>
  100. </field>
  101. </declaration>
  102. </table>
  103. <table>
  104. <name>*dbprefix*migratekeyword</name>
  105. <declaration>
  106. <field>
  107. <name>select</name>
  108. <type>text</type>
  109. <default></default>
  110. <notnull>false</notnull>
  111. <length>255</length>
  112. </field>
  113. </declaration>
  114. </table>
  115. </database>