@Bachibouzouk, please review and merge on approval.
Closes #194.
This PR improves the database config, because:
before the config flow was kind of confusing, if nothing was set, the flag was named "postgres", but the values where set to use SQlite.
now, if nothing is set, the default database system (DBS) in use is SQLite, but "any" other DBS can be used by explicitly setting it via environment variables.
if some environment values are not properly set, it will now fail loudly instead of setting implicitly some values that the admin might has now knowledge of (happened to me)
unneeded DATABASE environment variable is removed. If SQL_ENGINE is set, code will try to set custom database and will loudly fail if the rest of the environment variables are not not properly set.
@Bachibouzouk, please review and merge on approval.
Closes #194.
This PR improves the database config, because:
DATABASE
environment variable is removed. IfSQL_ENGINE
is set, code will try to set custom database and will loudly fail if the rest of the environment variables are not not properly set.