database.xml 995 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!--
  3. Keep a mapping of the share ID stored in the local oc_share table
  4. and the share ID stored in the remote servers oc_share table.
  5. This is needed in order to send updates in both directions between
  6. the servers (e.g. permissions change, unshare,...)
  7. -->
  8. <database>
  9. <name>*dbname*</name>
  10. <create>true</create>
  11. <overwrite>false</overwrite>
  12. <charset>utf8</charset>
  13. <table>
  14. <name>*dbprefix*federated_reshares</name>
  15. <declaration>
  16. <field>
  17. <name>share_id</name>
  18. <type>integer</type>
  19. <notnull>true</notnull>
  20. <length>4</length>
  21. </field>
  22. <field>
  23. <name>remote_id</name>
  24. <type>integer</type>
  25. <notnull>true</notnull>
  26. <length>4</length>
  27. <comments>share ID at the remote server</comments>
  28. </field>
  29. <index>
  30. <name>share_id_index</name>
  31. <unique>true</unique>
  32. <field>
  33. <name>share_id</name>
  34. <sorting>ascending</sorting>
  35. </field>
  36. </index>
  37. </declaration>
  38. </table>
  39. </database>