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

Add drizzle-kit configuration #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add drizzle-kit configuration #54

wants to merge 2 commits into from

Conversation

kxyne
Copy link

@kxyne kxyne commented May 27, 2024

This PR splits out the schema into a schema file, adds a dev dependency on drizzle-kit, and adds a configuration file to allow drizzle-kit to apply the schema changes. The README is also adjusted accordingly.

I removed the sslmode=require that was in the client connection string as its the default I believe and also breaks connections if you provided any options yourself.

It all works correctly in my environment but I haven't tried it against other versions or bumped any dependencies.

Copy link

vercel bot commented May 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-mysql-auth-starter ❌ Failed (Inspect) May 27, 2024 10:28pm

Copy link

vercel bot commented May 27, 2024

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

A member of the Team first needs to authorize it.

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