At this moment the database connection string is specified via the environment variable DATABASE_URL.
It would be nice to be able to specify URL-like database DSN using format like: postgresql://user:pass@localhost/dbname/?sslmode=disable.
Ideally the goal would be to keep only one env variable DATABASE_URL and detect if it's using an URL-like or the database provider's connection string format.
At this moment the database connection string is specified via the environment variable
DATABASE_URL
.It would be nice to be able to specify URL-like database DSN using format like:
postgresql://user:pass@localhost/dbname/?sslmode=disable
.Ideally the goal would be to keep only one env variable
DATABASE_URL
and detect if it's using an URL-like or the database provider's connection string format.Library: https://github.com/xo/dburl