]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add indexes
authorLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:47:41 +0000 (20:47 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:58:04 +0000 (20:58 +0200)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
apps/oauth2/appinfo/database.xml
apps/oauth2/appinfo/info.xml

index de3df4091a6ad801e3d7ef7dd0e7e682bcdebe53..db32e0cf97dfbc863d8a24903352a2326e85a9ce 100644 (file)
                                <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>
                                <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>
index 8992b87daaa8290219cef7546d692bca29a8485d..5e9e8dae06af5457db2c08de59050443c58cd992 100644 (file)
@@ -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/>