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

Use @mattrax/mysql-planetscale in dev #51

Merged
merged 3 commits into from
Jul 21, 2024

Conversation

Brendonovich
Copy link
Collaborator

Implements the @mattrax/mysql-planetscale library in development to allow @planetscale/database to connect with a plain mysql database.
The way i've implemented this requires moving from the DB_* environment variables to a single DATABASE_URL connection string.
The url needs to start mysql:// during development and when using drizzle kit, and should start with https:// in production or when testing locally using planetscale.

Copy link

vercel bot commented Jul 16, 2024

@Brendonovich is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@richiemcilroy
Copy link
Contributor

Thanks for this @Brendonovich! much appreciated. Also added in a new docker-compose.yml file, and updated the dev to include the creation of the DB + migration etc.

@richiemcilroy richiemcilroy merged commit d830463 into CapSoftware:main Jul 21, 2024
1 check failed
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