chore(drizzle): add config for drizzle-kit migrations

This commit is contained in:
2026-04-03 10:41:52 +02:00
parent 33b8c178f2
commit 4949bdce5d
+14
View File
@@ -0,0 +1,14 @@
import { defineConfig } from "drizzle-kit";
export default defineConfig({
dialect: "postgresql",
schema: "./databases/schema.ts",
out: "./databases/migrations",
dbCredentials: {
host: process.env.POSTGRES_HOST!,
port: Number(process.env.POSTGRES_PORT ?? 5432),
user: process.env.POSTGRES_USER!,
password: process.env.POSTGRES_PASS!,
database: process.env.POSTGRES_DB!,
},
});