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.

database.xml 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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*share_external</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. <length>4</length>
  17. </field>
  18. <field>
  19. <name>remote</name>
  20. <type>text</type>
  21. <notnull>true</notnull>
  22. <length>512</length>
  23. <comments>Url of the remove owncloud instance</comments>
  24. </field>
  25. <field>
  26. <name>remote_id</name>
  27. <type>integer</type>
  28. <default>-1</default>
  29. <notnull>true</notnull>
  30. <length>4</length>
  31. </field>
  32. <field>
  33. <name>share_token</name>
  34. <type>text</type>
  35. <notnull>true</notnull>
  36. <length>64</length>
  37. <comments>Public share token</comments>
  38. </field>
  39. <field>
  40. <name>password</name>
  41. <type>text</type>
  42. <notnull>false</notnull>
  43. <length>64</length>
  44. <comments>Optional password for the public share</comments>
  45. </field>
  46. <field>
  47. <name>name</name>
  48. <type>text</type>
  49. <notnull>true</notnull>
  50. <length>64</length>
  51. <comments>Original name on the remote server</comments>
  52. </field>
  53. <field>
  54. <name>owner</name>
  55. <type>text</type>
  56. <notnull>true</notnull>
  57. <length>64</length>
  58. <comments>User that owns the public share on the remote server</comments>
  59. </field>
  60. <field>
  61. <name>user</name>
  62. <type>text</type>
  63. <notnull>true</notnull>
  64. <length>64</length>
  65. <comments>Local user which added the external share</comments>
  66. </field>
  67. <field>
  68. <name>mountpoint</name>
  69. <type>text</type>
  70. <notnull>true</notnull>
  71. <length>4000</length>
  72. <comments>Full path where the share is mounted</comments>
  73. </field>
  74. <field>
  75. <name>mountpoint_hash</name>
  76. <type>text</type>
  77. <notnull>true</notnull>
  78. <length>32</length>
  79. <comments>md5 hash of the mountpoint</comments>
  80. </field>
  81. <field>
  82. <name>accepted</name>
  83. <type>integer</type>
  84. <default>0</default>
  85. <notnull>true</notnull>
  86. <length>4</length>
  87. </field>
  88. <index>
  89. <name>sh_external_user</name>
  90. <field>
  91. <name>user</name>
  92. <sorting>ascending</sorting>
  93. </field>
  94. </index>
  95. <index>
  96. <name>sh_external_mp</name>
  97. <unique>true</unique>
  98. <field>
  99. <name>user</name>
  100. <sorting>ascending</sorting>
  101. </field>
  102. <field>
  103. <name>mountpoint_hash</name>
  104. <sorting>ascending</sorting>
  105. </field>
  106. </index>
  107. </declaration>
  108. </table>
  109. </database>