database.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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*ldap_user_mapping</name>
  9. <declaration>
  10. <field>
  11. <name>ldap_dn</name>
  12. <type>text</type>
  13. <notnull>true</notnull>
  14. <length>255</length>
  15. <default></default>
  16. </field>
  17. <field>
  18. <name>owncloud_name</name>
  19. <type>text</type>
  20. <notnull>true</notnull>
  21. <length>255</length>
  22. <default></default>
  23. </field>
  24. <field>
  25. <name>directory_uuid</name>
  26. <type>text</type>
  27. <notnull>true</notnull>
  28. <length>255</length>
  29. <default></default>
  30. </field>
  31. <index>
  32. <name>ldap_dn_users</name>
  33. <unique>true</unique>
  34. <field>
  35. <name>ldap_dn</name>
  36. </field>
  37. </index>
  38. <index>
  39. <name>owncloud_name_users</name>
  40. <primary>true</primary>
  41. <unique>true</unique>
  42. <field>
  43. <name>owncloud_name</name>
  44. <sorting>ascending</sorting>
  45. </field>
  46. </index>
  47. </declaration>
  48. </table>
  49. <table>
  50. <name>*dbprefix*ldap_group_mapping</name>
  51. <declaration>
  52. <field>
  53. <name>ldap_dn</name>
  54. <type>text</type>
  55. <notnull>true</notnull>
  56. <length>255</length>
  57. <default></default>
  58. </field>
  59. <field>
  60. <name>owncloud_name</name>
  61. <type>text</type>
  62. <notnull>true</notnull>
  63. <length>255</length>
  64. <default></default>
  65. </field>
  66. <field>
  67. <name>directory_uuid</name>
  68. <type>text</type>
  69. <notnull>true</notnull>
  70. <length>255</length>
  71. <default></default>
  72. </field>
  73. <index>
  74. <name>ldap_dn_groups</name>
  75. <unique>true</unique>
  76. <primary>true</primary>
  77. <field>
  78. <name>ldap_dn</name>
  79. </field>
  80. </index>
  81. <index>
  82. <name>owncloud_name_groups</name>
  83. <unique>true</unique>
  84. <field>
  85. <name>owncloud_name</name>
  86. <sorting>ascending</sorting>
  87. </field>
  88. </index>
  89. </declaration>
  90. </table>
  91. <table>
  92. <name>*dbprefix*ldap_group_members</name>
  93. <declaration>
  94. <field>
  95. <name>owncloudname</name>
  96. <type>text</type>
  97. <notnull>true</notnull>
  98. <length>255</length>
  99. <default></default>
  100. </field>
  101. <field>
  102. <name>owncloudusers</name>
  103. <type>clob</type>
  104. <notnull>true</notnull>
  105. </field>
  106. <index>
  107. <name>ldap_group_members_index</name>
  108. <unique>true</unique>
  109. <primary>true</primary>
  110. <field>
  111. <name>owncloudname</name>
  112. </field>
  113. </index>
  114. </declaration>
  115. </table>
  116. </database>