Skip to content

Commit 7725826

Browse files
aster-voidclaude
andcommitted
modules/server: use validated env in drizzle config
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 787e8aa commit 7725826

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/server/drizzle.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import type { Config } from "drizzle-kit";
2+
import { env } from "./src/env.ts";
23

34
export default {
45
schema: "./src/db/schema.ts",
56
out: "./drizzle",
67
dialect: "postgresql",
78
dbCredentials: {
8-
url: process.env.DATABASE_URL || "",
9+
url: env.DATABASE_URL,
910
},
1011
} satisfies Config;

0 commit comments

Comments
 (0)