You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

db_structure.xml 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  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*appconfig</name>
  9. <declaration>
  10. <field>
  11. <name>appid</name>
  12. <type>text</type>
  13. <default></default>
  14. <notnull>true</notnull>
  15. <length>255</length>
  16. </field>
  17. <field>
  18. <name>configkey</name>
  19. <type>text</type>
  20. <default></default>
  21. <notnull>true</notnull>
  22. <length>255</length>
  23. </field>
  24. <field>
  25. <name>configvalue</name>
  26. <type>text</type>
  27. <default></default>
  28. <notnull>true</notnull>
  29. <length>255</length>
  30. </field>
  31. </declaration>
  32. </table>
  33. <table>
  34. <name>*dbprefix*foldersize</name>
  35. <declaration>
  36. <field>
  37. <name>path</name>
  38. <type>text</type>
  39. <default></default>
  40. <notnull>true</notnull>
  41. <length>512</length>
  42. </field>
  43. <field>
  44. <name>size</name>
  45. <type>integer</type>
  46. <default></default>
  47. <notnull>true</notnull>
  48. <length>4</length>
  49. </field>
  50. <index>
  51. <name>path_index</name>
  52. <field>
  53. <name>path</name>
  54. <sorting>ascending</sorting>
  55. </field>
  56. </index>
  57. </declaration>
  58. </table>
  59. <table>
  60. <name>*dbprefix*group_user</name>
  61. <declaration>
  62. <field>
  63. <name>gid</name>
  64. <type>text</type>
  65. <default></default>
  66. <notnull>true</notnull>
  67. <length>64</length>
  68. </field>
  69. <field>
  70. <name>uid</name>
  71. <type>text</type>
  72. <default></default>
  73. <notnull>true</notnull>
  74. <length>64</length>
  75. </field>
  76. </declaration>
  77. </table>
  78. <table>
  79. <name>*dbprefix*groups</name>
  80. <declaration>
  81. <field>
  82. <name>gid</name>
  83. <type>text</type>
  84. <default></default>
  85. <notnull>true</notnull>
  86. <length>64</length>
  87. </field>
  88. <index>
  89. <name>groups_pKey</name>
  90. <primary>true</primary>
  91. <field>
  92. <name>gid</name>
  93. <sorting>ascending</sorting>
  94. </field>
  95. </index>
  96. </declaration>
  97. </table>
  98. <table>
  99. <name>*dbprefix*locks</name>
  100. <declaration>
  101. <field>
  102. <name>id</name>
  103. <type>integer</type>
  104. <default>0</default>
  105. <notnull>true</notnull>
  106. <autoincrement>1</autoincrement>
  107. <unsigned>true</unsigned>
  108. <length>4</length>
  109. </field>
  110. <field>
  111. <name>userid</name>
  112. <type>text</type>
  113. <default></default>
  114. <notnull>false</notnull>
  115. <length>200</length>
  116. </field>
  117. <field>
  118. <name>owner</name>
  119. <type>text</type>
  120. <default></default>
  121. <notnull>false</notnull>
  122. <length>100</length>
  123. </field>
  124. <field>
  125. <name>timeout</name>
  126. <type>integer</type>
  127. <default></default>
  128. <notnull>false</notnull>
  129. <unsigned>true</unsigned>
  130. <length>4</length>
  131. </field>
  132. <field>
  133. <name>created</name>
  134. <type>integer</type>
  135. <default></default>
  136. <notnull>false</notnull>
  137. <length>4</length>
  138. </field>
  139. <field>
  140. <name>token</name>
  141. <type>text</type>
  142. <default></default>
  143. <notnull>false</notnull>
  144. <length>100</length>
  145. </field>
  146. <field>
  147. <name>scope</name>
  148. <type>integer</type>
  149. <default></default>
  150. <notnull>false</notnull>
  151. <length>1</length>
  152. </field>
  153. <field>
  154. <name>depth</name>
  155. <type>integer</type>
  156. <default></default>
  157. <notnull>false</notnull>
  158. <length>1</length>
  159. </field>
  160. <field>
  161. <name>uri</name>
  162. <type>clob</type>
  163. <notnull>false</notnull>
  164. </field>
  165. </declaration>
  166. </table>
  167. <table>
  168. <name>*dbprefix*log</name>
  169. <declaration>
  170. <field>
  171. <name>id</name>
  172. <type>integer</type>
  173. <default>0</default>
  174. <notnull>true</notnull>
  175. <autoincrement>1</autoincrement>
  176. <unsigned>true</unsigned>
  177. <length>4</length>
  178. </field>
  179. <field>
  180. <name>moment</name>
  181. <type>timestamp</type>
  182. <default>0000-00-00 00:00:00</default>
  183. <notnull>true</notnull>
  184. </field>
  185. <field>
  186. <name>appid</name>
  187. <type>text</type>
  188. <default></default>
  189. <notnull>true</notnull>
  190. <length>255</length>
  191. </field>
  192. <field>
  193. <name>user</name>
  194. <type>text</type>
  195. <default></default>
  196. <notnull>true</notnull>
  197. <length>255</length>
  198. </field>
  199. <field>
  200. <name>action</name>
  201. <type>text</type>
  202. <default></default>
  203. <notnull>true</notnull>
  204. <length>255</length>
  205. </field>
  206. <field>
  207. <name>info</name>
  208. <type>clob</type>
  209. <notnull>true</notnull>
  210. </field>
  211. </declaration>
  212. </table>
  213. <table>
  214. <name>*dbprefix*preferences</name>
  215. <declaration>
  216. <field>
  217. <name>userid</name>
  218. <type>text</type>
  219. <default></default>
  220. <notnull>true</notnull>
  221. <length>255</length>
  222. </field>
  223. <field>
  224. <name>appid</name>
  225. <type>text</type>
  226. <default></default>
  227. <notnull>true</notnull>
  228. <length>255</length>
  229. </field>
  230. <field>
  231. <name>configkey</name>
  232. <type>text</type>
  233. <default></default>
  234. <notnull>true</notnull>
  235. <length>255</length>
  236. </field>
  237. <field>
  238. <name>configvalue</name>
  239. <type>text</type>
  240. <default></default>
  241. <notnull>true</notnull>
  242. <length>255</length>
  243. </field>
  244. </declaration>
  245. </table>
  246. <table>
  247. <name>*dbprefix*principalgroups</name>
  248. <declaration>
  249. <field>
  250. <name>id</name>
  251. <type>integer</type>
  252. <default>0</default>
  253. <notnull>true</notnull>
  254. <autoincrement>1</autoincrement>
  255. <unsigned>true</unsigned>
  256. <length>4</length>
  257. </field>
  258. <field>
  259. <name>principal_id</name>
  260. <type>integer</type>
  261. <default></default>
  262. <notnull>true</notnull>
  263. <unsigned>true</unsigned>
  264. <length>4</length>
  265. </field>
  266. <field>
  267. <name>member_id</name>
  268. <type>integer</type>
  269. <default></default>
  270. <notnull>true</notnull>
  271. <unsigned>true</unsigned>
  272. <length>4</length>
  273. </field>
  274. <index>
  275. <name>principals_members_index</name>
  276. <unique>true</unique>
  277. <field>
  278. <name>principal_id</name>
  279. <sorting>ascending</sorting>
  280. </field>
  281. <field>
  282. <name>member_id</name>
  283. <sorting>ascending</sorting>
  284. </field>
  285. </index>
  286. </declaration>
  287. </table>
  288. <table>
  289. <name>*dbprefix*principals</name>
  290. <declaration>
  291. <field>
  292. <name>id</name>
  293. <type>integer</type>
  294. <default>0</default>
  295. <notnull>true</notnull>
  296. <autoincrement>1</autoincrement>
  297. <unsigned>true</unsigned>
  298. <length>4</length>
  299. </field>
  300. <field>
  301. <name>uri</name>
  302. <type>text</type>
  303. <default></default>
  304. <notnull>false</notnull>
  305. <length>255</length>
  306. </field>
  307. <field>
  308. <name>displayname</name>
  309. <type>text</type>
  310. <default></default>
  311. <notnull>false</notnull>
  312. <length>255</length>
  313. </field>
  314. <index>
  315. <name>uri</name>
  316. <unique>true</unique>
  317. <field>
  318. <name>uri</name>
  319. <sorting>ascending</sorting>
  320. </field>
  321. </index>
  322. </declaration>
  323. </table>
  324. <table>
  325. <name>*dbprefix*properties</name>
  326. <declaration>
  327. <field>
  328. <name>userid</name>
  329. <type>text</type>
  330. <default></default>
  331. <notnull>true</notnull>
  332. <length>200</length>
  333. </field>
  334. <field>
  335. <name>propertypath</name>
  336. <type>text</type>
  337. <default></default>
  338. <notnull>true</notnull>
  339. <length>255</length>
  340. </field>
  341. <field>
  342. <name>propertyname</name>
  343. <type>text</type>
  344. <default></default>
  345. <notnull>true</notnull>
  346. <length>255</length>
  347. </field>
  348. <field>
  349. <name>propertyvalue</name>
  350. <type>clob</type>
  351. <notnull>true</notnull>
  352. </field>
  353. </declaration>
  354. </table>
  355. <table>
  356. <name>*dbprefix*users</name>
  357. <declaration>
  358. <field>
  359. <name>uid</name>
  360. <type>text</type>
  361. <default></default>
  362. <notnull>true</notnull>
  363. <length>64</length>
  364. </field>
  365. <field>
  366. <name>password</name>
  367. <type>text</type>
  368. <default></default>
  369. <notnull>true</notnull>
  370. <length>255</length>
  371. </field>
  372. <index>
  373. <name>users_pKey</name>
  374. <primary>true</primary>
  375. <field>
  376. <name>uid</name>
  377. <sorting>ascending</sorting>
  378. </field>
  379. </index>
  380. </declaration>
  381. </table>
  382. </database>