Skip to content

Commit

Permalink
#1556 mark card as done: reset etags for update
Browse files Browse the repository at this point in the history
  • Loading branch information
desperateCoder committed Jan 15, 2024
1 parent a46f70e commit 515d1eb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ public Migration_32_33() {
@Override
public void migrate(@NonNull SupportSQLiteDatabase database) {
database.execSQL("ALTER TABLE `Card` add column done INTEGER");
// reset etags, so cards will be fetched after app-update
database.execSQL("UPDATE `Card` SET etag = NULL");
}
}

0 comments on commit 515d1eb

Please sign in to comment.