database.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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*calendar_objects</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>calendarid</name>
  21. <type>integer</type>
  22. <default></default>
  23. <notnull>true</notnull>
  24. <unsigned>true</unsigned>
  25. <length>4</length>
  26. </field>
  27. <field>
  28. <name>objecttype</name>
  29. <type>text</type>
  30. <default></default>
  31. <notnull>true</notnull>
  32. <length>40</length>
  33. </field>
  34. <field>
  35. <name>startdate</name>
  36. <type>timestamp</type>
  37. <default>0000-00-00 00:00:00</default>
  38. <notnull>false</notnull>
  39. </field>
  40. <field>
  41. <name>enddate</name>
  42. <type>timestamp</type>
  43. <default>0000-00-00 00:00:00</default>
  44. <notnull>false</notnull>
  45. </field>
  46. <field>
  47. <name>repeating</name>
  48. <type>integer</type>
  49. <default></default>
  50. <notnull>false</notnull>
  51. <length>4</length>
  52. </field>
  53. <field>
  54. <name>summary</name>
  55. <type>text</type>
  56. <default></default>
  57. <notnull>false</notnull>
  58. <length>255</length>
  59. </field>
  60. <field>
  61. <name>calendardata</name>
  62. <type>clob</type>
  63. <notnull>false</notnull>
  64. </field>
  65. <field>
  66. <name>uri</name>
  67. <type>text</type>
  68. <default></default>
  69. <notnull>false</notnull>
  70. <length>255</length>
  71. </field>
  72. <field>
  73. <name>lastmodified</name>
  74. <type>integer</type>
  75. <default></default>
  76. <notnull>false</notnull>
  77. <length>4</length>
  78. </field>
  79. </declaration>
  80. </table>
  81. <table>
  82. <name>*dbprefix*calendar_calendars</name>
  83. <declaration>
  84. <field>
  85. <name>id</name>
  86. <type>integer</type>
  87. <default>0</default>
  88. <notnull>true</notnull>
  89. <autoincrement>1</autoincrement>
  90. <unsigned>true</unsigned>
  91. <length>4</length>
  92. </field>
  93. <field>
  94. <name>userid</name>
  95. <type>text</type>
  96. <default></default>
  97. <notnull>false</notnull>
  98. <length>255</length>
  99. </field>
  100. <field>
  101. <name>displayname</name>
  102. <type>text</type>
  103. <default></default>
  104. <notnull>false</notnull>
  105. <length>100</length>
  106. </field>
  107. <field>
  108. <name>uri</name>
  109. <type>text</type>
  110. <default></default>
  111. <notnull>false</notnull>
  112. <length>255</length>
  113. </field>
  114. <field>
  115. <name>active</name>
  116. <type>integer</type>
  117. <default>1</default>
  118. <notnull>true</notnull>
  119. <length>4</length>
  120. </field>
  121. <field>
  122. <name>ctag</name>
  123. <type>integer</type>
  124. <default>0</default>
  125. <notnull>true</notnull>
  126. <unsigned>true</unsigned>
  127. <length>4</length>
  128. </field>
  129. <field>
  130. <name>calendarorder</name>
  131. <type>integer</type>
  132. <default>0</default>
  133. <notnull>true</notnull>
  134. <unsigned>true</unsigned>
  135. <length>4</length>
  136. </field>
  137. <field>
  138. <name>calendarcolor</name>
  139. <type>text</type>
  140. <default></default>
  141. <notnull>false</notnull>
  142. <length>10</length>
  143. </field>
  144. <field>
  145. <name>timezone</name>
  146. <type>clob</type>
  147. <notnull>false</notnull>
  148. </field>
  149. <field>
  150. <name>components</name>
  151. <type>text</type>
  152. <default></default>
  153. <notnull>false</notnull>
  154. <length>100</length>
  155. </field>
  156. </declaration>
  157. </table>
  158. <table>
  159. <name>*dbprefix*calendar_share_event</name>
  160. <declaration>
  161. <field>
  162. <name>owner</name>
  163. <type>text</type>
  164. <notnull>true</notnull>
  165. <length>255</length>
  166. </field>
  167. <field>
  168. <name>share</name>
  169. <type>text</type>
  170. <notnull>true</notnull>
  171. <length>255</length>
  172. </field>
  173. <field>
  174. <name>sharetype</name>
  175. <type>text</type>
  176. <notnull>true</notnull>
  177. <length>6</length>
  178. </field>
  179. <field>
  180. <name>eventid</name>
  181. <type>integer</type>
  182. <default></default>
  183. <notnull>true</notnull>
  184. <unsigned>true</unsigned>
  185. <length>11</length>
  186. </field>
  187. <field>
  188. <name>permissions</name>
  189. <type>integer</type>
  190. <notnull>true</notnull>
  191. <length>1</length>
  192. </field>
  193. </declaration>
  194. </table>
  195. <table>
  196. <name>*dbprefix*calendar_share_calendar</name>
  197. <declaration>
  198. <field>
  199. <name>owner</name>
  200. <type>text</type>
  201. <notnull>true</notnull>
  202. <length>255</length>
  203. </field>
  204. <field>
  205. <name>share</name>
  206. <type>text</type>
  207. <notnull>true</notnull>
  208. <length>255</length>
  209. </field>
  210. <field>
  211. <name>sharetype</name>
  212. <type>text</type>
  213. <notnull>true</notnull>
  214. <length>6</length>
  215. </field>
  216. <field>
  217. <name>calendarid</name>
  218. <type>integer</type>
  219. <default></default>
  220. <notnull>true</notnull>
  221. <unsigned>true</unsigned>
  222. <length>11</length>
  223. </field>
  224. <field>
  225. <name>permissions</name>
  226. <type>integer</type>
  227. <notnull>true</notnull>
  228. <length>1</length>
  229. </field>
  230. <field>
  231. <name>active</name>
  232. <type>integer</type>
  233. <default>1</default>
  234. <notnull>true</notnull>
  235. <length>4</length>
  236. </field>
  237. </declaration>
  238. </table>
  239. </database>