Add indexes

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-05-18 20:47:41 +02:00
parent 7927aed991
commit fa6ec47a5c
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with 22 additions and 1 deletions

View File

@ -39,6 +39,13 @@
<notnull>true</notnull> <notnull>true</notnull>
<length>64</length> <length>64</length>
</field> </field>
<index>
<name>oauth2_client_id_idx</name>
<unique>false</unique>
<field>
<name>client_identifier</name>
</field>
</index>
</declaration> </declaration>
</table> </table>
<table> <table>
@ -74,6 +81,20 @@
<notnull>true</notnull> <notnull>true</notnull>
<length>786</length> <length>786</length>
</field> </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> </declaration>
</table> </table>
</database> </database>

View File

@ -6,7 +6,7 @@
<licence>agpl</licence> <licence>agpl</licence>
<author>Lukas Reschke</author> <author>Lukas Reschke</author>
<namespace>OAuth2</namespace> <namespace>OAuth2</namespace>
<version>1.0.4</version> <version>1.0.5</version>
<default_enable/> <default_enable/>
<types> <types>
<authentication/> <authentication/>