[Pkg-owncloud-commits] [owncloud] 176/239: db-doc: permissions description

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:34 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit d083108e721cf4bf653ebf5e644da5f02206a895
Author: Andreas Fischer <bantu at owncloud.com>
Date:   Tue Nov 26 20:41:05 2013 +0100

    db-doc: permissions description
---
 db_structure.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/db_structure.xml b/db_structure.xml
index 623264e..ab33a48 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>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list