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

@ -46,6 +46,30 @@
<length>200</length> <length>200</length>
</field> </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> </declaration>
</table> </table>
@ -82,6 +106,21 @@
</field> </field>
</index> </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> </declaration>
</table> </table>
@ -224,6 +263,36 @@
<length>4</length> <length>4</length>
</field> </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> </declaration>
</table> </table>

View File

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