sourcegraph/dev/db/drop-local-database.sh
Stefan Hengl c61b0f1a7b
all: /bin/bash -> /usr/bin/env bash (#23673)
I ran into issues setting up Sourcegraph on NixOS, because NixOS, like
some other distros, doesn't have a /bin/bash. We already use /usr/bin/env
in many of our scripts, so this improves consistency, too.
2021-08-06 12:02:43 +02:00

4 lines
81 B
Bash
Executable File

#!/usr/bin/env bash
psql -c "drop schema public cascade; create schema public;"