Skip to content

Commit

Permalink
fixup! scripts: fix shellcheck error and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Synar committed Nov 13, 2024
1 parent 8c7b125 commit 093c142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cleanup-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ docker exec "$OSRD_POSTGRES" psql -p "$OSRD_POSTGRES_PORT" -f //tmp/init.sql > /
echo "Deleting valkey cache..."
docker exec "$OSRD_VALKEY" valkey-cli -p "$OSRD_VALKEY_PORT" FLUSHALL > /dev/null 2>&1 || docker volume rm -f $OSRD_VALKEY_VOLUME > /dev/null

printf 'Cleanup done!\n'
echo 'Cleanup done!'
echo "You may want to apply migrations if you don't load a backup:"
echo "'diesel migration run --migration-dir \"$root_path/editoast/migrations\"' # 'docker compose up editoast' does it automatically"

0 comments on commit 093c142

Please sign in to comment.