summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-06 12:22:47 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-06 12:22:47 -0400
commit2554f674dec321d53f33af85b047da7789a80c29 (patch)
tree9d19817a7d445c14de0c7a44c784426bd0dc1243 /db_structure.xml
parent3b2c853916fb75968ae759e54bb61a8095debe7e (diff)
downloadnextcloud-server-2554f674dec321d53f33af85b047da7789a80c29.tar.gz
nextcloud-server-2554f674dec321d53f33af85b047da7789a80c29.zip
Database scheme for share API
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml115
1 files changed, 115 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index f6dedab0a13..bce71619f27 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -506,6 +506,121 @@
</table>
+ <table>
+
+ <name>*dbprefix*share</name>
+
+ <declaration>
+
+ <field>
+ <name>id</name>
+ <autoincrement>1</autoincrement>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>share_type</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+
+ <field>
+ <name>share_with</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>uid_owner</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>parent</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>item_type</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+ <field>
+ <name>item_source</name>
+ <type>text</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>item_target</name>
+ <type>text</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>file_source</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>file_target</name>
+ <type>text</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>512</length>
+ </field>
+
+ <field>
+ <name>permissions</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+
+ <field>
+ <name>stime</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>8</length>
+ </field>
+
+ <field>
+ <name>accepted</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+
+ </declaration>
+
+ </table>
+
<table>
<name>*dbprefix*users</name>