get rid of unused song_count and disc_count fields
This commit is contained in:
parent
2df519f0f6
commit
432ce9d557
@ -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
|
||||
*/
|
||||
|
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user