summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-26 12:48:19 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 13:36:46 +0200
commit8d4850218740b74faae5af637d1b1c2b3dee3c41 (patch)
treea54f2a3efc72f58fea3909a017211ac26027fbf2 /db_structure.xml
parent53636c73d649514fbbfeba4741f39be1725e47fd (diff)
downloadnextcloud-server-8d4850218740b74faae5af637d1b1c2b3dee3c41.tar.gz
nextcloud-server-8d4850218740b74faae5af637d1b1c2b3dee3c41.zip
Add index on 'last_activity'
add token type column and delete only temporary tokens in the background job debounce token updates; fix wrong class import
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index dcbf426e5b8..b78abe2974c 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -1080,6 +1080,15 @@
</field>
<field>
+ <name>type</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>2</length>
+ </field>
+
+ <field>
<name>last_activity</name>
<type>integer</type>
<default>0</default>
@@ -1097,6 +1106,14 @@
</field>
</index>
+ <index>
+ <name>authtoken_last_activity_index</name>
+ <field>
+ <name>last_activity</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>