Skip to content

Commit

Permalink
refactor: update prisma db url loading
Browse files Browse the repository at this point in the history
  • Loading branch information
didinele committed Jul 17, 2024
1 parent c19d61a commit 8cee291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.private.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DISCORD_CLIENT_ID=
NODE_ENV=dev
LOCAL_DATABASE_PORT=5432
ADMINS=223703707118731264
DATABASE_URL=postgresql://chatsift:admin@localhost:5432/chatsift # used for prisma. don't use vars in this
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"format": "prettier --write .",
"postinstall": "is-ci || husky install || true",
"update": "yarn upgrade-interactive",
"prisma": "DATABASE_URL=postgresql://chatsift:admin@localhost:5432/chatsift prisma"
"prisma": "dotenv -e .env.private -- prisma"
},
"dependencies": {
"prisma": "^5.16.2"
Expand Down

0 comments on commit 8cee291

Please sign in to comment.