summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-11-26 20:50:21 +0100
committerAndreas Fischer <bantu@owncloud.com>2013-11-26 20:50:21 +0100
commit46e32b08c0f0e3b4f28ac9961959c4d37b5b17b5 (patch)
tree70a319621b841d97b96b0554bdbde471afa812c1
parent6da5b05176b8de8d05e2c3e2998d96d4f3d96957 (diff)
downloadnextcloud-server-46e32b08c0f0e3b4f28ac9961959c4d37b5b17b5.tar.gz
nextcloud-server-46e32b08c0f0e3b4f28ac9961959c4d37b5b17b5.zip
db-doc: group_user description
-rw-r--r--db_structure.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/db_structure.xml b/db_structure.xml
index d77e53c915b..39233a706eb 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -446,11 +446,16 @@
</table>
<table>
-
+ <!--
+ Stores which groups have which users as members in an n:m relationship.
+ - Maps group id (gid) to a set of users (uid)
+ - Maps user id (uid) to a set of groups (gid) (but without index)
+ -->
<name>*dbprefix*group_user</name>
<declaration>
+ <!-- Foreign Key groups::gid -->
<field>
<name>gid</name>
<type>text</type>
@@ -459,6 +464,7 @@
<length>64</length>
</field>
+ <!-- Foreign Key users::uid -->
<field>
<name>uid</name>
<type>text</type>