summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/>