mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(db): Fix incorrect query
This commit is contained in:
parent
c183802096
commit
291d4ffc35
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ WHERE _id = :mangaId;
|
||||||
findDuplicateFavorite:
|
findDuplicateFavorite:
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM mangas
|
FROM mangas
|
||||||
WHERE favorite = 1 AND lower(title) = :title AND source = :source;
|
WHERE favorite = 1 AND lower(title) = :title AND source != :source;
|
||||||
|
|
||||||
findFavorites:
|
findFavorites:
|
||||||
SELECT *
|
SELECT *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue