Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-25 17:40:41 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 14:36:46 +0300
commit2fa5e0a24e34b109fcd4adb98932e9537884bc9a (patch)
treeac0822860e46ffeb0fee03c5f593dfd49bbc62c5 /db_structure.xml
parentd8cde414bd13c327ec2edaf1ae38380073c93e3e (diff)
invalidate (delete) session token on logout
add 'last_activity' column to session tokens and delete old ones via a background job
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index cde8f52dc67..68a812a6b8f 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -1079,6 +1079,15 @@
<length>100</length>
</field>
+ <field>
+ <name>last_activity</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+
<index>
<name>authtoken_token_index</name>
<unique>true</unique>