mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
refactor: rename env var for planetscale db url
This commit is contained in:
parent
c2de1aa372
commit
8a19e68dfd
2 changed files with 2 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ GITHUB_ACCESS_TOKEN=
|
||||||
# Database (MySQL - PlanetScale)
|
# Database (MySQL - PlanetScale)
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
DATABASE_URL="mysql://root:root@localhost:3306/taxonomy?schema=public"
|
DATABASE_URL="mysql://root:root@localhost:3306/taxonomy?schema=public"
|
||||||
|
PLANETSCALE_SERVERLESS_DATABASE_URL=
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Email (Postmark)
|
# Email (Postmark)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { connect } from "@planetscale/database"
|
import { connect } from "@planetscale/database"
|
||||||
|
|
||||||
export const planetScale = connect({
|
export const planetScale = connect({
|
||||||
url: process.env.PLANETSCALE_DATABASE_URL,
|
url: process.env.PLANETSCALE_SERVERLESS_DATABASE_URL,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue