Skip to content

Rename env var TORRUST_TRACKER_DATABASE to TORRUST_TRACKER_DATABASE_DRIVER #417

@josecelano

Description

@josecelano

Discussed in #415

Originally posted by josecelano September 11, 2023
Hi @da2ce7, I think the name TORRUST_TRACKER_DATABASE can be confusing. I thought it was the database name. In the tracker configuration file (and in the code), we use the word driver to refer to the type of database system the tracker uses.

In fact, that could be the prefix (TORRUST_TRACKER_DATABASE_*) for all options related to the database.

db_driver = "Sqlite3"
db_path = "./storage/database/data.db"
```</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions