Skip to content

Commit

Permalink
docs: @neonserverless/database to @neondatabase/serverless (#1261)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-exclaimation authored Nov 9, 2023
1 parent 8a41a17 commit 93cb522
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions documentation/content/guidebook/drizzle-orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Learn how to use Drizzle ORM with Lucia"

## MySQL

Make sure to change the table names accordingly. While you can name your Drizzle fields anything you want, the underlying column names must match what's defined in the docs (e.g `user_id`).
Make sure to change the table names accordingly. While you can name your Drizzle fields anything you want, the underlying column names must match what's defined in the docs (e.g `user_id`).

```ts
// schema.js
Expand Down Expand Up @@ -138,7 +138,7 @@ export const auth = lucia({

We recommend using `pg` with TCP connections for Supabase and Neon.

Make sure to change the table names accordingly. While you can name your Drizzle fields anything you want, the underlying column names must match what's defined in the docs (e.g `user_id`).
Make sure to change the table names accordingly. While you can name your Drizzle fields anything you want, the underlying column names must match what's defined in the docs (e.g `user_id`).

```ts
// schema.js
Expand Down Expand Up @@ -251,7 +251,7 @@ export const auth = lucia({

## SQLite

Make sure to change the table names accordingly. While you can name your Drizzle fields anything you want, the underlying column names must match what's defined in the docs (e.g `user_id`).
Make sure to change the table names accordingly. While you can name your Drizzle fields anything you want, the underlying column names must match what's defined in the docs (e.g `user_id`).

```ts
// schema.js
Expand Down
4 changes: 2 additions & 2 deletions documentation/content/main/basics/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ We currently provide the following adapters:
- [Redis](/database-adapters/redis)
- [Unstorage](/database-adapters/unstorage)

SDKs such as `@vercel/postgres` and `@neonserverless/database` provide drop-in replacements for existing drivers. You can also use query builders like Drizzle ORM and Kysely since they rely on underlying drivers that we provide adapters for. Refer to these guides:
SDKs such as `@vercel/postgres` and `@neondatabase/serverless` provide drop-in replacements for existing drivers. You can also use query builders like Drizzle ORM and Kysely since they rely on underlying drivers that we provide adapters for. Refer to these guides:

- [Using `@vercel/postgres`](/guidebook/vercel-postgres)
- [Using Drizzle ORM](/guidebook/drizzle-orm)
Expand Down Expand Up @@ -87,7 +87,7 @@ declare namespace Lucia {
type DatabaseSessionAttributes = {
// required fields (i.e. id) should not be defined here
username: string;
display_name: string
display_name: string;
};
}
```
Expand Down

0 comments on commit 93cb522

Please sign in to comment.