Skip to content

Commit

Permalink
Fix typo for migrations in app database filename
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed May 14, 2024
1 parent 11c523b commit f2da393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tad/migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_url():
scheme = os.getenv("APP_DATABASE_SCHEME", "sqlite")

if scheme == "sqlite":
file = os.getenv("APP_DATABASE__FILE", "/database")
file = os.getenv("APP_DATABASE_FILE", "database.sqlite3")
return f"{scheme}:///{file}"

user = os.getenv("APP_DATABASE_USER", "tad")
Expand Down

0 comments on commit f2da393

Please sign in to comment.