Skip to content

Commit

Permalink
Fix how DATABASE_URL is given a default value in scripts/console.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jan 21, 2024
1 parent a2ed7d2 commit de5265f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/console
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

if [[ -z "$DATABASE_URL" ]] && [[ -n "$DATABASE_NAME" ]]; then
if [[ -z "$DATABASE_URL" ]] && [[ -z "$DATABASE_NAME" ]]; then
export DATABASE_URL="sqlite3:db/dev.sqlite3"
fi

Expand Down

0 comments on commit de5265f

Please sign in to comment.