diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-21 19:06:54 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-21 19:06:54 +0200 |
commit | 693484008360b219848d4fbcdce9b7f26987850b (patch) | |
tree | be128b41a2717b4fe9814c08f40d63d7913dca92 /db_structure.xml | |
parent | bca7586574dc3daf6a890688fdf7634f6fa58bab (diff) | |
parent | b40c0bad9685873bbcd61f310717c0da0c9faf75 (diff) | |
download | nextcloud-server-693484008360b219848d4fbcdce9b7f26987850b.tar.gz nextcloud-server-693484008360b219848d4fbcdce9b7f26987850b.zip |
Merge pull request #24307 from owncloud/systemtags-perminterface
Add interface methods for permission check for system tags
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 43 |
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 |