aboutsummaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-11 12:25:09 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-20 17:56:02 +0200
commit3cd65fe25dc6f213dd7e4a1687616dc5e0960d4d (patch)
tree01a4e4a6bb7ff4f3a9243bd6c523fc5a738e1c65 /db_structure.xml
parent09b3883d9ceae77793e524209090f2e36ab61260 (diff)
downloadnextcloud-server-3cd65fe25dc6f213dd7e4a1687616dc5e0960d4d.tar.gz
nextcloud-server-3cd65fe25dc6f213dd7e4a1687616dc5e0960d4d.zip
Add systemtag_group table and get/set methods
Added systemtag to group mapping table. Added methods in ISystemTagManager to get/set the group mappings.
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 6e57b003fcf..640edfbfd80 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -1383,6 +1383,49 @@
<table>
<!--
+ System tag to group mapping
+ -->
+ <name>*dbprefix*systemtag_group</name>
+
+ <declaration>
+
+ <!-- Foreign Key systemtag::id -->
+ <field>
+ <name>systemtagid</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>gid</name>
+ <type>string</type>
+ <notnull>true</notnull>
+ </field>
+
+ <index>
+ <name>systemtag_group</name>
+ <primary>true</primary>
+ <unique>true</unique>
+ <field>
+ <name>gid</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>systemtagid</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
+ <table>
+
+ <!--
Namespaced Key-Value Store for arbitrary data.
- Keys are namespaced per userid and appid.
- E.g. (admin, files, foo) -> bar