-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
docs: added drizzle doc page in english #1659
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ThomasBouasli is attempting to deploy a commit to the t3-oss Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small wording changes
Actually, don't merge this PR yet, just realize that I missed 2/3 topics in the original issue
|
The default database is a MySql database, using the PlanetScale serverless client, so it is edge ready out of the box! All you need to do is spin up a database at PlanetScale (up to one instance in free-tier BTW) and copy and paste the connection string in the `.env` file. Don't forget to add `ssl={"rejectUnauthorized":true}` to the end of the string. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently if you can pick Drizzle on planetscale it will do not give you any string.
On .env.example or .env there's next explanation :
# Drizzle
# Get the Database URL from the "prisma" dropdown selector in PlanetScale.
It was a little bit weird until I understood that if you use Prisma string will work, you might clarify this here
I wont have the time to do this well enough, if anyone else wants to pick up where I left of feel free to do so. |
Closes #1613
✅ Checklist
Changelog
Added docs page for Drizzle ORM
Screenshots
💯