Fixed
Status Update
Comments
su...@google.com <su...@google.com> #2
This is a Room feature request, not one for WorkManager.
ku...@gmail.com <ku...@gmail.com> #3
WorkManager needs to add a destructive 2 to 1 migration.
su...@google.com <su...@google.com> #4
The way we're thinking, if a downgrade isn't specified, it should be destructive by default in Room.
yb...@google.com <yb...@google.com> #5
i think it makes sense for downgrades, at least we can make this another flag.
ia...@gmail.com <ia...@gmail.com> #6
Would it be possible for WorkManager to use the currently available fallbackToDestructiveMigration() method for its database until the Room API is built and available in a stable release? It should be possible to manually check the forward migrations to make sure they are covered.
yb...@google.com <yb...@google.com> #7
actually it could have a dummy migration for +1,+2,+3,+4 versions that does this destructive migration manually.
Description
It is preferable to have a destructive migration to crashing the app.