Skip to content

Commit

Permalink
feat: dropdb with --force when running setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
holyxiaoxin committed Jul 24, 2024
1 parent a078af1 commit caacab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ if [ "$SETUP_PERSISTENCE" = true ]; then

echo "Creating db \"$DB_NAME\" using $MAINTENANCE_DB_URL"

dropdb --maintenance-db=$MAINTENANCE_DB_URL --if-exists $DB_NAME
dropdb --maintenance-db=$MAINTENANCE_DB_URL --if-exists $DB_NAME --force
createdb --maintenance-db=$MAINTENANCE_DB_URL $DB_NAME

POSTGRES_URL=$POSTGRES_URL $DAEMON migrations
Expand Down

0 comments on commit caacab2

Please sign in to comment.