mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +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")
|
@SuppressLint("RestrictedApi")
|
||||||
@Database(
|
@Database(
|
||||||
version = 36,
|
version = 36,
|
||||||
entities = {Queue.class, Server.class, RecentSearch.class, Download.class, Playlist.class},
|
entities = {Queue.class, Server.class, RecentSearch.class, Download.class, Playlist.class}
|
||||||
autoMigrations = { @AutoMigration(from = 35, to = 36) }
|
// autoMigrations = { @AutoMigration(from = 35, to = 36) }
|
||||||
)
|
)
|
||||||
public abstract class AppDatabase extends RoomDatabase {
|
public abstract class AppDatabase extends RoomDatabase {
|
||||||
private static final String TAG = "AppDatabase";
|
private static final String TAG = "AppDatabase";
|
||||||
|
|
@ -37,6 +37,7 @@ public abstract class AppDatabase extends RoomDatabase {
|
||||||
.fallbackToDestructiveMigration()
|
.fallbackToDestructiveMigration()
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue