Files
silo-server/migrations/154_user_watch_progress_hide_from_continue.up.sql
T

8 lines
365 B
SQL
Raw Normal View History

-- Toggle for hiding an in-progress book from the Continue Listening
-- shelf without affecting the progress row itself. Used by the
-- ABS-compat /me/progress/{itemId}/remove-from-continue-listening +
-- /readd-to-continue-listening endpoints.
ALTER TABLE public.user_watch_progress
ADD COLUMN IF NOT EXISTS hide_from_continue boolean NOT NULL DEFAULT false;