Download lib/db/drizzle.config.ts from PVPPRO/Slayers: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/PVPPRO/Slayers/resolve/main/lib/db/drizzle.config.ts
- Command line
-
hf download hf://spaces/PVPPRO/Slayers/lib/db/drizzle.config.ts
-
curl -L -o drizzle.config.ts https://huggingface.co/spaces/PVPPRO/Slayers/resolve/main/lib/db/drizzle.config.ts
352 Bytes
| import { defineConfig } from "drizzle-kit"; | |
| import path from "path"; | |
| if (!process.env.DATABASE_URL) { | |
| throw new Error("DATABASE_URL, ensure the database is provisioned"); | |
| } | |
| export default defineConfig({ | |
| schema: path.join(__dirname, "./src/schema/index.ts"), | |
| dialect: "postgresql", | |
| dbCredentials: { | |
| url: process.env.DATABASE_URL, | |
| }, | |
| }); | |