Skip to content

v0.1.0

Choose a tag to compare

@D3ller D3ller released this 08 Aug 11:28
· 23 commits to main since this release

馃殌 Enhancements

  • Add eponyme init, which installs the managed Prisma models and copies the published migration history into a host application
  • Make eponyme init idempotent, so it never overwrites a migration whose contents differ
  • Add --force to eponyme init, replacing known Eponyme model blocks without touching a conflicting migration
  • Add eponyme check, which verifies the Prisma delegates, the PostgreSQL tables and columns, and the schema version recorded in _eponyme_schema
  • Read .env by default, with --cwd, --schema, --migrations, --client and --env for an application that uses other paths
  • Ship the versioned migration history as immutable package exports, so an upgrade adds migrations instead of rewriting them

馃摝 Build

  • Add test:postgres, which runs the migrations against a real PostgreSQL
  • Add test:tarball, which installs the packed tarball and exercises both commands end to end

馃摎 Documentation

  • Document the install, upgrade and baselining procedures, including how to adopt a database whose Eponyme tables predate this migration history

鉂わ笍 Contributors

  • Corentin (@d3ller)