summaryrefslogtreecommitdiffstats
path: root/apps/oauth2/appinfo/database.xml
diff options
context:
space:
mode:
Diffstat (limited to 'apps/oauth2/appinfo/database.xml')
-rw-r--r--apps/oauth2/appinfo/database.xml21
1 files changed, 21 insertions, 0 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>