Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update default db to prisma postgres #7555

Closed
wants to merge 35 commits into from
Closed

Conversation

ankur-arch
Copy link
Contributor

@ankur-arch ankur-arch commented Feb 19, 2025

Summary

This PR updates our /orm examples to use Prisma Postgres instead of SQLite.

Changes

  • README Updates:

    • Instructs users to run npx prisma@latest init --db.
    • Adds guidance on seeding the database.
    • Provides steps to remove the Accelerate extension when using providers other than Postgres.
  • Code Updates:

    • Converts fluent API queries to standard function calls. Also updated READMEs accordingly.
    • Adds instructions for extending the Prisma Client in NestJS applications in README, also updating the application code.
    • Modifies tests to run sequentially (using a single database URL) instead of in parallel. See discussion for additional context.

Exclusions:

@ankur-arch ankur-arch marked this pull request as draft February 19, 2025 11:09
@ankur-arch ankur-arch marked this pull request as ready for review February 20, 2025 04:04
ankur-arch and others added 18 commits February 20, 2025 12:33
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update README.md for Accelerate starter

Closes #6963

* Update accelerate/nextjs-starter/README.md

---------

Co-authored-by: Nikolas <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@ankur-arch ankur-arch closed this Feb 20, 2025
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