Skip to content

Commit

Permalink
fix: moved DATABASE_URL env var to a new prisma/.env file (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampellino authored Dec 13, 2024
1 parent 0af3d2b commit 4e377b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,14 @@ config_env() {
"DISCORD_BOT_TOKEN"
"DISCORD_APP_ID"
"DEVELOPMENT_GUILD_ID"
"DATABASE_URL"
)
create_env_file "$craig_dir/.env" "${env_names[@]}"

env_names=(
"DATABASE_URL"
)
create_env_file "$craig_dir/prisma/.env" "${env_names[@]}"

env_names=(
"CLIENT_ID"
"CLIENT_SECRET"
Expand Down

0 comments on commit 4e377b1

Please sign in to comment.