fix(recents): Partially revert SQLDelight migration

getAllRecentsTypes query is too cursed, will need some refactoring
This commit is contained in:
Ahmad Ansori Palembani 2024-08-27 10:01:17 +07:00
parent 6e3eaad481
commit 0d9ffc2206
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 43 additions and 1 deletions

View file

@ -62,7 +62,7 @@ AND (
ORDER BY max_last_read.history_last_read DESC
LIMIT :limit OFFSET :offset;
getRecentsAll: -- AKA insanity
getRecentsAll: -- FIXME: This is insanity, require refactoring
SELECT * FROM (
SELECT
mangas.*,