Skip to content

Commit 3d1d0c4

Browse files
committed
Use uppercase env var name for DROP_DB
1 parent eda0a54 commit 3d1d0c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/dev.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ set -euo pipefail
77

88
# Set this env var to `1` if you want to drop your current postgres DB and
99
# reseed the DB from scratch again.
10-
drop_db=${drop_db:-0}
10+
DROP_DB=${DROP_DB:-0}
1111

12-
13-
if [[ "$drop_db" == "1" ]]; then
12+
if [[ "$DROP_DB" == "1" ]]; then
1413
info "Dropping databases..."
1514

1615
# It's important to stop all containers to make sure they shut down cleanly.

0 commit comments

Comments
 (0)