- ReleaseHistory groups release notes by version (sorted by version
number, newest marked "Aktuell") and renders them as Sakani cards on
/redaktion/neuigkeiten and /admin/versionen (with audience + delete).
- The "Was ist neu?" popup links to the history ("Frühere Änderungen
ansehen") and closes on navigation.
- Release notes for 2.2.2 seeded via custom migration 0005; popup
version bumped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Squash the 13 historical migrations into one generated baseline whose
journal entry reuses the original 0000 timestamp: the migrator skips it
on every existing database (prod journal stuck at 0006) and applies it
only on fresh ones. Parity with the old chain verified via pg_dump diff
plus fresh/existing/prod-simulated drizzle-kit migrate runs. Historical
files move to drizzle-history/pre-squash-2026-08/ for integration tests
that exercise legacy migration behavior.
Also repair db tests that already failed before this change:
- raw SQL targeted users, but the table has always been "user"
- membership recheck mocked legacy getAsset.albums instead of searchPhotos
- audit rollback assertion walks drizzle's wrapped error cause chain
- keyset index probe pinned to NULLS LAST ordering, removing a planner
cost tie-break that flipped with index creation order