get rid of unused song_count and disc_count fields

This commit is contained in:
Adrian Ulrich 2016-11-26 18:59:11 +01:00
parent 2df519f0f6
commit 432ce9d557
2 changed files with 0 additions and 10 deletions

View File

@ -339,18 +339,10 @@ public class MediaLibrary {
* The sortable title of this album
*/
public static final String ALBUM_SORT = "album_sort";
/**
* How many songs are on this album
*/
public static final String SONG_COUNT = "song_count";
/**
* The disc number of this album
*/
public static final String DISC_NUMBER = "disc_num";
/**
* The total amount of discs
*/
public static final String DISC_COUNT = "disc_count";
/**
* The primary contributor / artist reference for this album
*/

View File

@ -43,9 +43,7 @@ public class MediaSchema {
+ MediaLibrary.AlbumColumns._ID +" INTEGER PRIMARY KEY, "
+ MediaLibrary.AlbumColumns.ALBUM +" TEXT NOT NULL, "
+ MediaLibrary.AlbumColumns.ALBUM_SORT +" VARCHAR(64) NOT NULL, "
+ MediaLibrary.AlbumColumns.SONG_COUNT +" INTEGER, "
+ MediaLibrary.AlbumColumns.DISC_NUMBER +" INTEGER, "
+ MediaLibrary.AlbumColumns.DISC_COUNT +" INTEGER, "
+ MediaLibrary.AlbumColumns.YEAR +" INTEGER, "
+ MediaLibrary.AlbumColumns.PRIMARY_ARTIST_ID +" INTEGER NOT NULL DEFAULT 0, "
+ MediaLibrary.AlbumColumns.MTIME +" TIMESTAMP DEFAULT CURRENT_TIMESTAMP "