mirror of
https://github.com/jnsahaj/tweakcn.git
synced 2026-08-28 23:02:07 +08:00
15 lines
302 B
TypeScript
15 lines
302 B
TypeScript
import "dotenv/config";
|
|
import { defineConfig } from "drizzle-kit";
|
|
import { config } from "dotenv";
|
|
|
|
config({ path: ".env.local" });
|
|
|
|
export default defineConfig({
|
|
out: "./drizzle",
|
|
schema: "./db/schema.ts",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL!,
|
|
},
|
|
});
|