summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-11-26 20:41:05 +0100
committerAndreas Fischer <bantu@owncloud.com>2013-11-26 20:41:05 +0100
commitd083108e721cf4bf653ebf5e644da5f02206a895 (patch)
tree060e9036ad72427a7f8cfe4d9c55290b8a042c9d /db_structure.xml
parentea2628249329ef2e94cf2613ba12fe79ed7ab856 (diff)
downloadnextcloud-server-d083108e721cf4bf653ebf5e644da5f02206a895.tar.gz
nextcloud-server-d083108e721cf4bf653ebf5e644da5f02206a895.zip
db-doc: permissions description
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 623264e32c0..ab33a488dc5 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -395,11 +395,15 @@
</table>
<table>
-
+ <!--
+ Maps (fileid, user) to an integer which is a permission bitfield.
+ - E.g. (4, admin) -> 27
+ -->
<name>*dbprefix*permissions</name>
<declaration>
+ <!-- Foreign Key *dbprefix*filecache::fileid -->
<field>
<name>fileid</name>
<type>integer</type>
@@ -408,6 +412,7 @@
<length>4</length>
</field>
+ <!-- Foreign Key *dbprefix*users::uid -->
<field>
<name>user</name>
<type>text</type>