diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:47:41 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:58:04 +0200 |
commit | fa6ec47a5c064f85e52d06a1c88f5ac13a3b8074 (patch) | |
tree | ed22b11d0d7f6f8315de2dca1aed2b508e186bd0 /apps/oauth2/appinfo/database.xml | |
parent | 7927aed991a73a7147f9d388af97725123456179 (diff) | |
download | nextcloud-server-fa6ec47a5c064f85e52d06a1c88f5ac13a3b8074.tar.gz nextcloud-server-fa6ec47a5c064f85e52d06a1c88f5ac13a3b8074.zip |
Add indexes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/oauth2/appinfo/database.xml')
-rw-r--r-- | apps/oauth2/appinfo/database.xml | 21 |
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> |