NGU-Web/server/src/migrations/102_image_dark.sql
Zaldimmar f46deac3cc Image block: a dark theme picture; presented pictures centered
- media_dark (102): shown in place of the image while the site is
  dark, the block's alt text and caption shared
- Present: pictures beside text centered on the slide's height, and a
  section of only pictures centered both ways

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 06:40:40 -06:00

13 lines
874 B
SQL

-- ═══════════════════════════════════════════════════════════════
-- 102 AN IMAGE BLOCK'S DARK THEME PICTURE
--
-- media_dark shown in place of media while the site is in its
-- dark theme (the visitor's setting, or a presentation
-- held dark), eg. a chart or a logo drawn light on
-- dark. Null shows media in both themes.
--
-- Image blocks only; other types ignore it. Its alt text and caption
-- are the block's, so it should show the same thing.
-- ═══════════════════════════════════════════════════════════════
ALTER TABLE content_blocks ADD COLUMN media_dark TEXT;