]> source.dussan.org Git - nextcloud-server.git/commitdiff
final db indexes
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Tue, 16 Aug 2016 11:21:59 +0000 (13:21 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 16 Aug 2016 19:11:06 +0000 (21:11 +0200)
db_structure.xml

index b4c231a924838a69616ee88598c0f7442afb1b1f..77f6d7689863f4286a6bd822574a9fa4f0d07394 100644 (file)
 
                        <index>
                                <name>admin_sections_id_index</name>
-                               <unique>true</unique>
+                               <primary>true</primary>
                                <field>
                                        <name>id</name>
                                        <sorting>ascending</sorting>
                                </field>
                        </index>
 
+                       <index>
+                               <name>admin_sections_class</name>
+                               <unique>true</unique>
+                               <field>
+                                       <name>class</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                       </index>
+
                </declaration>
        </table>
 
 
                        <index>
                                <name>admin_settings_id_index</name>
-                               <unique>true</unique>
+                               <primary>true</primary>
                                <field>
                                        <name>id</name>
                                        <sorting>ascending</sorting>
                                </field>
                        </index>
 
+                       <index>
+                               <name>admin_settings_class</name>
+                               <unique>true</unique>
+                               <field>
+                                       <name>class</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                       </index>
+
+                       <index>
+                               <name>admin_settings_section</name>
+                               <unique>false</unique>
+                               <field>
+                                       <name>section</name>
+                                       <sorting>ascending</sorting>
+                               </field>
+                       </index>
+
                </declaration>
        </table>