-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add destroyed column to BookmarkLocation table (##3729) #3774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add tests to make sure this change works as expected?
Codecov Report
@@ Coverage Diff @@
## master #3774 +/- ##
========================================
Coverage 7.01% 7.02%
Complexity 319 319
========================================
Files 290 290
Lines 12614 12604 -10
Branches 1007 1003 -4
========================================
Hits 885 885
+ Misses 11661 11651 -10
Partials 68 68
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
app/src/main/java/fr/free/nrw/commons/bookmarks/locations/BookmarkLocationsDao.java
Outdated
Show resolved
Hide resolved
@ashishkumar468 are there any further tickets for Room migration? It isn't very beneficial to the project to keep maintaining these unwieldy classes |
@macgills Not that I know of, this should be it :) |
@ashishkumar468 I'll create a ticket for converting each remaining ContentProvider so? |
Yes that would be great, thanks :) |
…ommons-app#3774) * Add destroyed column to BookmarkLocation table (#commons-app#3729) * switch with fall through for migrations
…ommons-app#3774) * Add destroyed column to BookmarkLocation table (#commons-app#3729) * switch with fall through for migrations
Description (required)
Fixes #3729
What changes did you make and why?
location_destroyed
to BookmarkLocation tableTests performed (required)
Tested {prodDebug, betaDebug} on {Pixel 2 emulator} with API level {28}.
Checked for successful database migration (on emulator) as well.