Skip to content

Commit

Permalink
set static script dir in migrations sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Dec 29, 2023
1 parent fb7857c commit 87d2eab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dwn-server/migrations/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ DB_NAME=dwn
DROP_DB=false
ENV_FILE=.env

# Get the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
SCRIPT_DIR="./dwn-server/migrations"

# Function to parse arguments
parse_args() {
Expand Down

0 comments on commit 87d2eab

Please sign in to comment.