mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(app): remove extraneous condition from query
This commit is contained in:
parent
25107e427c
commit
c586d65a54
@ -285,8 +285,7 @@ class SqliteBoardRecordStorage(BoardRecordStorageBase):
|
|||||||
COUNT(*) AS unassigned_count
|
COUNT(*) AS unassigned_count
|
||||||
FROM images i
|
FROM images i
|
||||||
LEFT JOIN board_images bi ON i.image_name = bi.image_name
|
LEFT JOIN board_images bi ON i.image_name = bi.image_name
|
||||||
WHERE i.image_category IN ('general', 'control', 'mask', 'user', 'other')
|
WHERE bi.board_id IS NULL
|
||||||
AND bi.board_id IS NULL
|
|
||||||
AND i.is_intermediate = 0
|
AND i.is_intermediate = 0
|
||||||
GROUP BY category_type;
|
GROUP BY category_type;
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user