diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-29 15:14:48 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:10:37 +0200 |
commit | 65f3b2fad235417d3f653c9e11aa8d72e8944d28 (patch) | |
tree | fa863ea6c687bd42343e001be6dc975325a91c75 /apps/files_sharing/appinfo/database.xml | |
parent | 4a26219ecf3abe9c1b18d434b8e70a6f9878199c (diff) | |
download | nextcloud-server-65f3b2fad235417d3f653c9e11aa8d72e8944d28.tar.gz nextcloud-server-65f3b2fad235417d3f653c9e11aa8d72e8944d28.zip |
Add server<->server sharing backend
Diffstat (limited to 'apps/files_sharing/appinfo/database.xml')
-rw-r--r-- | apps/files_sharing/appinfo/database.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/database.xml b/apps/files_sharing/appinfo/database.xml new file mode 100644 index 00000000000..b9c0d881fc6 --- /dev/null +++ b/apps/files_sharing/appinfo/database.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<database> + <name>*dbname*</name> + <create>true</create> + <overwrite>false</overwrite> + <charset>utf8</charset> + <table> + <name>*dbprefix*share_external</name> + <declaration> + <field> + <name>id</name> + <type>integer</type> + <default>0</default> + <notnull>true</notnull> + <autoincrement>1</autoincrement> + <length>4</length> + </field> + <field> + <name>remote</name> + <type>text</type> + <notnull>true</notnull> + <length>128</length> + </field> + <field> + <name>token</name> + <type>text</type> + <notnull>true</notnull> + <length>64</length> + </field> + <field> + <name>password</name> + <type>text</type> + <notnull>true</notnull> + <length>64</length> + </field> + <field> + <name>name</name> + <type>text</type> + <notnull>true</notnull> + <length>64</length> + </field> + <field> + <name>owner</name> + <type>text</type> + <notnull>true</notnull> + <length>64</length> + </field> + <field> + <name>user</name> + <type>text</type> + <notnull>true</notnull> + <length>64</length> + </field> + <field> + <name>mountpoint</name> + <type>text</type> + <notnull>true</notnull> + <length>512</length> + </field> + <field> + <name>mountpoint_hash</name> + <type>text</type> + <notnull>true</notnull> + <length>32</length> + </field> + <index> + <name>sh_external_user</name> + <field> + <name>user</name> + <sorting>ascending</sorting> + </field> + </index> + <index> + <name>sh_external_mp</name> + <unique>true</unique> + <field> + <name>mountpoint_hash</name> + <sorting>ascending</sorting> + </field> + </index> + </declaration> + </table> +</database> |