summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-26 19:07:29 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-26 19:07:29 +0200
commitc22a723785f80671548b89c543e9163c2fff9264 (patch)
treedadd6fe026d77a57fbca40d8bad1be0e158ccc88 /db_structure.xml
parentad5957207da0d287a22f7728da6841c3832ad8b6 (diff)
downloadnextcloud-server-c22a723785f80671548b89c543e9163c2fff9264.tar.gz
nextcloud-server-c22a723785f80671548b89c543e9163c2fff9264.zip
add file permissions cache
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index e0b9dc11e94..e420a9f0e44 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -177,6 +177,53 @@
<table>
+ <name>*dbprefix*permissions</name>
+
+ <declaration>
+
+ <field>
+ <name>fileid</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>user</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+ <field>
+ <name>permissions</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <index>
+ <name>id_user_index</name>
+ <unique>true</unique>
+ <field>
+ <name>fileid</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>user</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
+ <table>
+
<name>*dbprefix*group_user</name>
<declaration>