-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi.
I was trying to update the database. I did this by increasing the number of version inside AppDatabase. In this case I got an error that I must setup migrations. I tried to do it in this way
Room.databaseBuilder(context.getApplicationContext(),
AppDatabase.class, "database.db")
.fallbackToDestructiveMigration()
.openHelperFactory(new AssetSQLiteOpenHelperFactory())
.build();
And in result I get an empty database?! How can I solve this? Where is my mistake?
milo2005
Metadata
Metadata
Assignees
Labels
No labels