From d5085836aec53e37b99be6452f9abe210e652a7c Mon Sep 17 00:00:00 2001 From: Fang Yi Liu Date: Mon, 17 Jun 2024 11:38:37 -0700 Subject: [PATCH] allow db.sh to take arguments This would allow passing sql commands into the script. --- scripts/db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/db.sh b/scripts/db.sh index e5392527..4977feab 100755 --- a/scripts/db.sh +++ b/scripts/db.sh @@ -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 "$@"