Skip to content

Conversation

@mpscholten
Copy link
Member

Summary

  • Switches IHP's default PostgreSQL version from 17 to 18
  • PG 18 provides the native uuidv7() function, making time-ordered UUIDs the out-of-the-box experience
  • Pins postgresql_18 in devenv service, nix test environments, and NixOS deployment module
  • Updates PGVersion.hs default so uuidv7() is used without needing IHP_POSTGRES_VERSION=18
  • Adds upgrade instructions to UPGRADE.md

Test plan

  • defaultUuidFunction returns "uuidv7" with no env var set
  • All 361 ihp-ide tests pass
  • No remaining hardcoded postgresql_17 references
  • nix flake check --impure passes (CI)

🤖 Generated with Claude Code

PG 18 provides the native uuidv7() function, making time-ordered UUIDs
the out-of-the-box experience without needing IHP_POSTGRES_VERSION=18.

- Pin postgresql_18 in devenv service, test environments, and NixOS module
- Update PGVersion.hs default from 17 to 18
- Add upgrade instructions to UPGRADE.md
- Update database guide documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant