mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Temporarily removed autoMigrations
This commit is contained in:
parent
e64cc6745f
commit
888fbf102a
1 changed files with 3 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ import com.cappielloantonio.play.model.Server;
|
|||
@SuppressLint("RestrictedApi")
|
||||
@Database(
|
||||
version = 36,
|
||||
entities = {Queue.class, Server.class, RecentSearch.class, Download.class, Playlist.class},
|
||||
autoMigrations = { @AutoMigration(from = 35, to = 36) }
|
||||
entities = {Queue.class, Server.class, RecentSearch.class, Download.class, Playlist.class}
|
||||
// autoMigrations = { @AutoMigration(from = 35, to = 36) }
|
||||
)
|
||||
public abstract class AppDatabase extends RoomDatabase {
|
||||
private static final String TAG = "AppDatabase";
|
||||
|
|
@ -37,6 +37,7 @@ public abstract class AppDatabase extends RoomDatabase {
|
|||
.fallbackToDestructiveMigration()
|
||||
.build();
|
||||
}
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue