Skip to content
Source
Sign inSign up
fuko/trytanstackdb.com
Open History to see the last commit

drizzle.config.ts

17 lines362 Bytes

1import { config } from "dotenv";
2import { defineConfig } from "drizzle-kit";
3​
4// import { env } from 'cloudflare:workers';
5​
6config();
7​
8export default defineConfig({
9 schema: "./src/db/schema.ts",
10 out: "./drizzle/migrations",
11 dialect: "postgresql",
12 driver: "pglite",
13 dbCredentials: {
14 // NOTE: we'll never use this
15 url: "file://main.db",
16 },
17});