Skip to content

Commit

Permalink
update paragraph on default database
Browse files Browse the repository at this point in the history
  • Loading branch information
conlonj25 committed Nov 6, 2024
1 parent 5be120a commit 7c21aef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions www/.astro/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"_variables": {
"lastUpdateCheck": 1730044581130
}
}
4 changes: 2 additions & 2 deletions www/src/pages/en/usage/drizzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ layout: ../../../layouts/docs.astro
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.
Drizzle is an ORM for TypeScript, that allows you to define your database schema and models in a `schema.ts` file. Using the drizzle client on the backend allows you to interact with your database while maintaining complete type safety.

Drizzle is three major components

Expand All @@ -31,7 +31,7 @@ When you select NextAuth.js in combination with Drizzle, the schema file is gene

## 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.
The default database is a local SQLite database, which is great for development and quickly spinning up a proof-of-concept. When you wish to move on to a production database it is as simple as updating the database connection string within environment variables and changing the drizzle driver to match. For detailed instructions see [vendors](#database-vendors).

## Commands

Expand Down

0 comments on commit 7c21aef

Please sign in to comment.