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