Files
omnivore/packages/db/migrations/0152.undo.update_highlights_saved_search.sql
Jackson Harper cba83c1593 Update the default Highlights query
This query is more of what people want, all their created
highlights, not just ones in their current inbox. Since a normal
workflow would be: read + highlight, archive, review highlights.
2024-01-03 18:17:25 +08:00

13 lines
307 B
PL/PgSQL
Executable File

-- Type: UNDO
-- Name: update_highlights_saved_search
-- Description: Update highlights saved search to use all instead of inbox
BEGIN;
UPDATE omnivore.filters
SET filter = 'has:highlights mode:highlights'
WHERE name = 'Highlights'
AND filter = 'in:all has:highlights mode:highlights' ;
COMMIT;