-- ═══════════════════════════════════════════════════════════════ -- 043 A POST'S TABLE OF CONTENTS -- -- Blog posts → "Show contents": list the post's headings beside it -- (a fold-out on phones), the one being read lit. Off unless an -- editor turns it on, since a short post doesn't need one. -- ═══════════════════════════════════════════════════════════════ ALTER TABLE blog_posts ADD COLUMN show_contents INTEGER NOT NULL DEFAULT 0 CHECK (show_contents IN (0, 1));