project-bifrost-platform/migrations
Jonathan Hvid d17d9b93a7 feat(db): roadmap_items.metadata_text + admin field
Migration 0007 (spec said 0006 but 0006 was already roadmap_considering)
adds a single nullable metadata_text column to roadmap_items — a short
admin-set narrative cue shown on hover in the route cards. ~60 chars
suggested in admin helper text. Hidden in the UI when NULL.

db.ts: RoadmapItem type gains the field. createRoadmapItem + updateRoadmapItem
accept an optional metadata_text parameter. moveRoadmapItem passes it through
when swapping display_order between siblings so the helper preserves it.

Admin: /admin?tab=roadmap edit form gets a new 'Hover note' input under
the description, with the helper text and a 120-char hard cap. Empty
string saves as NULL.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 11:39:18 +02:00
..
0001_initial.sql feat: database schema, migrations, and seed data 2026-04-18 22:43:16 +02:00
0002_join_requests.sql feat: join_requests table and join CTA flow 2026-04-19 20:29:09 +02:00
0003_council_portal.sql feat(db): add migration 0003 for council portal schema 2026-05-11 14:39:07 +02:00
0004_phase_two.sql feat(db): migration 0004 — phase 2 schema + 4 new tokens 2026-05-11 15:46:53 +02:00
0005_polls_on_dispatches.sql feat(polls): polls attach to dispatches — standalone Pulses entity retired 2026-05-12 10:14:50 +02:00
0006_roadmap_considering.sql feat(db): roadmap_items gains 'considering' + 'in_beta' rename, --on-ink tokens 2026-05-12 10:46:39 +02:00
0007_roadmap_metadata.sql feat(db): roadmap_items.metadata_text + admin field 2026-05-12 11:39:18 +02:00