Skip to content

Default generate to PGlite#41

Open
renaissancefieldlite wants to merge 1 commit into
seveibar:mainfrom
renaissancefieldlite:codex/pgstrap-pglite-default
Open

Default generate to PGlite#41
renaissancefieldlite wants to merge 1 commit into
seveibar:mainfrom
renaissancefieldlite:codex/pgstrap-pglite-default

Conversation

@renaissancefieldlite

Copy link
Copy Markdown

Summary

  • make pgstrap generate use the existing PGlite generation path by default
  • scaffold db:generate as pgstrap generate --pglite so newly initialized projects do not need a background Postgres server
  • keep external Postgres available through pgstrap generate --no-pglite
  • restore DATABASE_URL and close the temporary PGlite gateway in a finally block
  • update README and init script coverage

Verification

  • pnpm dlx bun test
  • pnpm dlx bun run build
  • pnpm dlx bun run format:check
  • git diff --check

@algora-pbc /claim #2

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