-
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: add drizzle docs #2005
base: main
Are you sure you want to change the base?
docs: add drizzle docs #2005
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@conlonj25 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.
Great! Just a minor note
www/src/pages/en/usage/drizzle.md
Outdated
lang: en | ||
--- | ||
|
||
Drizzle is an ORM for TypeScript, that allows you to define your database schema and models in a `schema.ts` file, and then generate a type-safe client that can be used to interact with your database from your backend. |
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.
ther'es no generation step
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.
updated
www/src/pages/en/usage/drizzle.md
Outdated
|
||
## Default Database | ||
|
||
The default database is an SQLite database, which is great for development and quickly spinning up a proof-of-concept but is not recommended for production. You can change the database to use by changing the `provider` in the `datasource` block to either `postgresql` or `mysql`, and then updating the connection string within environment variables to point to your database. |
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.
a proof-of-concept but is not recommended for production
feel like we may need to re-evaluate this now with services like D1 and Turso 😅
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.
I rewrote this whole paragraph. It was copied verbatim from the Prisma section and it's not correct.
Closes #
✅ Checklist
Changelog
Screenshots