mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 01:38:28 +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_URL="mysql://root:root@localhost:3306/taxonomy?schema=public"
|
||||
PLANETSCALE_SERVERLESS_DATABASE_URL=
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Email (Postmark)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { connect } from "@planetscale/database"
|
||||
|
||||
export const planetScale = connect({
|
||||
url: process.env.PLANETSCALE_DATABASE_URL,
|
||||
url: process.env.PLANETSCALE_SERVERLESS_DATABASE_URL,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue