Skip to content

Commit

Permalink
allow db.sh to take arguments
Browse files Browse the repository at this point in the history
This would allow passing sql commands into the script.
  • Loading branch information
fyliu authored and ethanstrominger committed Jul 1, 2024
1 parent f991143 commit d508583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ IFS=$'\n\t'
echo "\q to quit"

set -x
docker-compose exec db psql -d people_depot_dev -U people_depot
docker-compose exec db psql -d people_depot_dev -U people_depot "$@"

0 comments on commit d508583

Please sign in to comment.