mihon/data
KaiserBh 4ae9dbe524
feat: db changes to accommodate new cross device syncing logic. (#450)
* feat: db changes to accommodate new syncing logic.

Using timestamp to sync is a bit skewed due to system clock etc and therefore there was a lot of issues with it such as removing a manga that shouldn't have been removed. Marking chapters as unread even though it was marked as a read. Hopefully by using versioning system it should eliminate those issues.

* chore: add new line.

* chore: remove isSyncing from Chapter/Manga model.

* chore: remove isSyncing leftover.

* chore: remove isSyncing.

* refactor: remove isSync guard.

Just use it directly to 1 now since we don't have the isSyncing field in Manga or Chapter.

* Lint and stuff

* Add missing ,

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2024-03-10 01:45:41 +06:00
..
src/main feat: db changes to accommodate new cross device syncing logic. (#450) 2024-03-10 01:45:41 +06:00
.gitignore Move SQLDelight to data module (#8954) 2023-01-21 10:37:07 -05:00
build.gradle.kts Move :core to :core:common 2024-01-29 15:20:21 +06:00
consumer-rules.pro Move SQLDelight to data module (#8954) 2023-01-21 10:37:07 -05:00
proguard-rules.pro Move SQLDelight to data module (#8954) 2023-01-21 10:37:07 -05:00