`tsx ./src/server/db/SCRIPT_NAME` doesn't recognize environment variables.
I created a db migrator script similar to the recommendations here:
https://create.t3.gg/en/usage/prisma/#seeding-your-database
I'm trying to execute a script and the t3-env doesn't seem to load the
.env
file.
src/server/db/migrator.ts
is:
package.json
scripts are:
When running pnpm run migrate
I'm getting:
Erik.1 Reply
Anyone successfuly ran a command using
tsx
?