summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-01-28 22:59:48 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-01-29 13:08:02 +0100
commit01cdc70f9c8fd98d2ea49bcfba9005f2797c815d (patch)
treeb853e7991ab474b1519e54c30bfc1ed0e5a37953 /db_structure.xml
parent24025f32f448d9bef1087bea01d771dd7e871996 (diff)
downloadnextcloud-server-01cdc70f9c8fd98d2ea49bcfba9005f2797c815d.tar.gz
nextcloud-server-01cdc70f9c8fd98d2ea49bcfba9005f2797c815d.zip
introduce comments read marke tables, comes with user cleanup after deletion
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 99bfa519b40..ea1b89e28da 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -1582,6 +1582,49 @@
<table>
<!--
+ default place to store per user and object read markers
+ -->
+ <name>*dbprefix*comments_read_markers</name>
+
+ <declaration>
+
+ <field>
+ <name>user_id</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+ <field>
+ <name>marker_datetime</name>
+ <type>timestamp</type>
+ <default></default>
+ <notnull>false</notnull>
+ </field>
+
+ <field>
+ <name>object_type</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+ <field>
+ <name>object_id</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+ </declaration>
+
+ </table>
+
+ <table>
+ <!--
Encrypted credentials storage
-->
<name>*dbprefix*credentials</name>