Function minerva_data::db::build_database_string
source · [−]Expand description
Generates a string to connect to PostgreSQL RDBMS, given a tenant name and
the database server endpoint (e.g. localhost:5432
). This function
assumes a user postgres
with a password postgres
.
TODO
The default configuration for user and password could open a security hole if not accessing an RDBMS spawned using Docker Compose or Kubernetes. Consider changing this on the future.