fix sql layout to store disc_num on song

The album id is hashed from the string, so joining it from the shared album entry doesn't make much sense
This commit is contained in:
Adrian Ulrich committed 2017-01-02 13:01:30 +01:00
1 parent e92e24ec00
commit e4cbf3e4fe
5 files changed
+29 -11

No files matched your search

@@ -35,7 +35,7 @@ public class MediaLibraryBackend extends SQLiteOpenHelper {
/**
* The database version we are using
*/
private static final int DATABASE_VERSION = 1;
private static final int DATABASE_VERSION = 20170101;
/**
* on-disk file to store the database
*/
@@ -78,6 +78,7 @@ public class MediaLibraryBackend extends SQLiteOpenHelper {
*/
@Override
public void onUpgrade(SQLiteDatabase dbh, int oldVersion, int newVersion) {
MediaSchema.upgradeDatabaseSchema(dbh, oldVersion);
}
/**