You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When two elements have the same key, if we query one from the database, it would be the first one; if we query all from the database and then map by associateBy(), it would be the last one.
// <-- this is in my tachiyomi_restore.txt
ResultSet returned more than 1 row for history.sq:getHistoryByChapterUrl
By the way, since this is a relative URL, it might be duplicated across different sources. TachiyomiSY has already tried to fix this issue by use mangaId:
Steps to reproduce
I have no idea where they come from. It might be because I'm refreshing the database while simultaneously importing data.
Expected behavior
The database is guarded by unique constraints.
Actual behavior
A lot of duplicated chapters:
Crash logs
No response
Mihon version
latest
Android version
12
Device
phone
Other details
Why the database does not have unique constraints like:
(manga_id, url)
onchapters
table(source, url)
onmangas
table(sort)
oncategories
tableSome related issues:
Acknowledgements
The text was updated successfully, but these errors were encountered: