NGU-Web/server/src/migrations
Zaldimmar d374f9ac17 Add a blog: posts at /blog/:id and a Community page section
Admin → Blog → Posts (migration 031): our own posts with a
content-block body, cover image, excerpt, date, tags, and authors
shown as person tiles, either People records or a guest name and
photo. A post is a draft until published; Listed works as it does
elsewhere. Posts are on the QR page too.

Admin → Blog → Community section: the first section of the
Community page, with its heading and blurb from the admin, in two
halves, each pinned first and then newest up to its slots. Our posts
come from blog_posts; community posts are pinned link or video cards
(reusing featured cards and Fetch preview), then the newest items
from a list of RSS or Atom feeds. Feeds are read through the link
preview's guarded fetch and cached for 30 minutes, and a failing feed
keeps its last good items.

content_blocks and featured_cards are rebuilt to accept the new owner
kinds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 16:27:08 -05:00
..
023_schema.sql Consolidate migrations 001–023 into one baseline schema 2026-09-26 17:34:23 -05:00
024_front_page_video.sql Tidy the admin editor's text: previews, blank options, no em-dashes 2026-09-26 19:38:24 -05:00
025_hero_backdrop_feature.sql Let the hero's photos or brand backdrop sit behind a stream or video 2026-09-26 18:29:40 -05:00
026_countdown_filters.sql Let the front page countdown filter by event scope and type 2026-09-26 19:59:29 -05:00
027_listed.sql Add a Listed flag: published records reachable only by their link 2026-09-27 14:50:41 -05:00
028_media.sql Add image uploads with a media library, and event card backgrounds 2026-09-27 15:04:45 -05:00
029_event_card_image.sql Add image uploads with a media library, and event card backgrounds 2026-09-27 15:04:45 -05:00
030_featured_cards.sql Add a Featured Content section to the front page 2026-09-27 15:56:29 -05:00
031_blog.sql Add a blog: posts at /blog/:id and a Community page section 2026-09-27 16:27:08 -05:00