Skip to content

Default pgstrap generate to PGlite#19

Open
partyplatter08-lab wants to merge 1 commit into
seveibar:mainfrom
partyplatter08-lab:partyplatter08-lab/bounty-2
Open

Default pgstrap generate to PGlite#19
partyplatter08-lab wants to merge 1 commit into
seveibar:mainfrom
partyplatter08-lab:partyplatter08-lab/bounty-2

Conversation

@partyplatter08-lab
Copy link
Copy Markdown

Summary

  • default pgstrap generate to run migrations in an in-memory PGlite database, so bun run db:generate does not require a running Postgres service
  • keep external Postgres generation available with pgstrap generate --no-pglite
  • restore DATABASE_URL and close the temporary PGlite/socket resources after generation
  • update the PGlite generation test and README to match the new default

Validation

  • npx --yes bun test
  • npx --yes bun run format:check
  • npx --yes bun run build
  • node dist/cli.cjs generate --help

@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