summaryrefslogtreecommitdiffstats
path: root/apps/oauth2/appinfo
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-18 20:47:41 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 20:58:04 +0200
commitfa6ec47a5c064f85e52d06a1c88f5ac13a3b8074 (patch)
treeed22b11d0d7f6f8315de2dca1aed2b508e186bd0 /apps/oauth2/appinfo
parent7927aed991a73a7147f9d388af97725123456179 (diff)
downloadnextcloud-server-fa6ec47a5c064f85e52d06a1c88f5ac13a3b8074.tar.gz
nextcloud-server-fa6ec47a5c064f85e52d06a1c88f5ac13a3b8074.zip
Add indexes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/oauth2/appinfo')
-rw-r--r--apps/oauth2/appinfo/database.xml21
-rw-r--r--apps/oauth2/appinfo/info.xml2
2 files changed, 22 insertions, 1 deletions
diff --git a/apps/oauth2/appinfo/database.xml b/apps/oauth2/appinfo/database.xml
index de3df4091a6..db32e0cf97d 100644
--- a/apps/oauth2/appinfo/database.xml
+++ b/apps/oauth2/appinfo/database.xml
@@ -39,6 +39,13 @@
<notnull>true</notnull>
<length>64</length>
</field>
+ <index>
+ <name>oauth2_client_id_idx</name>
+ <unique>false</unique>
+ <field>
+ <name>client_identifier</name>
+ </field>
+ </index>
</declaration>
</table>
<table>
@@ -74,6 +81,20 @@
<notnull>true</notnull>
<length>786</length>
</field>
+ <index>
+ <name>oauth2_access_hash_idx</name>
+ <unique>true</unique>
+ <field>
+ <name>hashed_code</name>
+ </field>
+ </index>
+ <index>
+ <name>oauth2_access_client_id_idx</name>
+ <unique>false</unique>
+ <field>
+ <name>client_id</name>
+ </field>
+ </index>
</declaration>
</table>
</database>
diff --git a/apps/oauth2/appinfo/info.xml b/apps/oauth2/appinfo/info.xml
index 8992b87daaa..5e9e8dae06a 100644
--- a/apps/oauth2/appinfo/info.xml
+++ b/apps/oauth2/appinfo/info.xml
@@ -6,7 +6,7 @@
<licence>agpl</licence>
<author>Lukas Reschke</author>
<namespace>OAuth2</namespace>
- <version>1.0.4</version>
+ <version>1.0.5</version>
<default_enable/>
<types>
<authentication/>