database.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. <unique>true</unique>
  41. <field>
  42. <name>owncloud_name</name>
  43. <sorting>ascending</sorting>
  44. </field>
  45. </index>
  46. </declaration>
  47. </table>
  48. <table>
  49. <name>*dbprefix*ldap_group_mapping</name>
  50. <declaration>
  51. <field>
  52. <name>ldap_dn</name>
  53. <type>text</type>
  54. <notnull>true</notnull>
  55. <length>255</length>
  56. <default></default>
  57. </field>
  58. <field>
  59. <name>owncloud_name</name>
  60. <type>text</type>
  61. <notnull>true</notnull>
  62. <length>255</length>
  63. <default></default>
  64. </field>
  65. <field>
  66. <name>directory_uuid</name>
  67. <type>text</type>
  68. <notnull>true</notnull>
  69. <length>255</length>
  70. <default></default>
  71. </field>
  72. <index>
  73. <name>ldap_dn_groups</name>
  74. <unique>true</unique>
  75. <field>
  76. <name>ldap_dn</name>
  77. </field>
  78. </index>
  79. <index>
  80. <name>owncloud_name_groups</name>
  81. <unique>true</unique>
  82. <field>
  83. <name>owncloud_name</name>
  84. <sorting>ascending</sorting>
  85. </field>
  86. </index>
  87. </declaration>
  88. </table>
  89. <table>
  90. <name>*dbprefix*ldap_group_members</name>
  91. <declaration>
  92. <field>
  93. <name>owncloudname</name>
  94. <type>text</type>
  95. <notnull>true</notnull>
  96. <length>255</length>
  97. <default></default>
  98. </field>
  99. <field>
  100. <name>owncloudusers</name>
  101. <type>clob</type>
  102. <notnull>true</notnull>
  103. </field>
  104. <index>
  105. <name>ldap_group_members_index</name>
  106. <unique>true</unique>
  107. <field>
  108. <name>owncloudname</name>
  109. </field>
  110. </index>
  111. </declaration>
  112. </table>
  113. </database>