mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
17 lines
336 B
TypeScript
17 lines
336 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
|
|
import dotenv from "dotenv";
|
|
|
|
dotenv.config({
|
|
path: ".env",
|
|
});
|
|
|
|
export default defineConfig({
|
|
out: "./src/db/migrations",
|
|
schema: ["./src/db/schema", "./src/db/schema/types.ts"],
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL!,
|
|
},
|
|
});
|