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

wip: Database refactoring #1138

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

sebiweise
Copy link

@sebiweise sebiweise commented Aug 4, 2024

In this PR I want to add PostgreSQL as another option or alternative to the current Planetscale and MySql option.

Based on the connection string (DATABASE_URL), one of the two prisma schemas is selected and generated.

  • Add prisma schema
  • Add Edge functionality
  • Integrate Jackson
  • Fix @prisma/adapter-* import/install
  • Test everything

Copy link

vercel bot commented Aug 4, 2024

@sebiweise is attempting to deploy a commit to the Dub Team on Vercel.

A member of the Team first needs to authorize it.

@sebiweise
Copy link
Author

Currently the build isn´t working unless you manualy remove one of the @prisma/adapter-*.
prisma generate won´t work with the Planetscale Adapter when you try to run with a postgresql DATABASE_URL.

@steven-tey
Copy link
Collaborator

@sebiweise love this effort – thank you so much! 🙏

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.

2 participants