some idexes for the media player tables

This commit is contained in:
Robin Appelman 2012-04-13 15:42:01 +02:00
parent eea0d2e096
commit 8686667b10
2 changed files with 70 additions and 1 deletions

View File

@ -45,6 +45,30 @@
<notnull>true</notnull>
<length>200</length>
</field>
<index>
<name>album_index</name>
<field>
<name>album_id</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>album_name_index</name>
<field>
<name>album_name</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>album_artist_index</name>
<field>
<name>album_artist</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
@ -81,6 +105,21 @@
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>artist_index</name>
<field>
<name>artist_id</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>artist_name_index</name>
<field>
<name>artist_name</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
@ -223,6 +262,36 @@
<notnull>true</notnull>
<length>4</length>
</field>
<index>
<name>song_index</name>
<field>
<name>song_id</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>song_album_index</name>
<field>
<name>song_album</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>song_artist_index</name>
<field>
<name>song_artist</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
<name>song_name_index</name>
<field>
<name>song_name</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>

View File

@ -3,7 +3,7 @@
<id>media</id>
<name>Media</name>
<description>Media player and server for ownCloud</description>
<version>0.2</version>
<version>0.3</version>
<licence>AGPL</licence>
<author>Robin Appelman</author>
<require>2</require>