fix: load environment for database migrations
This commit is contained in:
1 parent
0225d689d9
commit
48ed1c20b6
1 file changed
+1
@@ -1,3 +1,4 @@
|
|||||||
|
import "dotenv/config";
|
||||||
import { readFileSync, readdirSync } from "node:fs";
|
import { readFileSync, readdirSync } from "node:fs";
|
||||||
import { resolve, dirname } from "node:path";
|
import { resolve, dirname } from "node:path";
|
||||||
import { fileURLToPath } from "node:url";
|
import { fileURLToPath } from "node:url";
|
||||||
|
|||||||
Reference in new issue
Block a user