Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit e1b8506

Browse files
committed
Fix env file not fetched
1 parent 1a8e164 commit e1b8506

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: drizzle.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { config } from "dotenv";
22
import { expand } from "dotenv-expand";
33
import type { Config } from "drizzle-kit";
4+
import path from "path";
45

5-
expand(config());
6+
expand(config({ path: path.resolve(process.cwd(), ".env.local") }));
67

78
export default {
89
schema: "./src/db/schema.ts",

0 commit comments

Comments
 (0)