mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
[FEAT] Add database instance registry to centralize connection settings #467
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kauavitorio on 9/10/2025
Description
Currently, when adding a new database in Postgresus, users must manually provide connection parameters — host, port, username, and password — for each database entry. This approach causes repetitive data entry, increases the chance of human error, and makes maintenance more cumbersome if connection details change.
Introducing a Database Instance registry would allow central management of connection settings, which can then be linked to multiple databases.
Proposed Design
1. Instance Entity
Fields:
name(unique identifier, string)host(string)port(integer)username(string)password(string, securely stored)ssl_mode/connection_options2. Linking with Database
Databaserecord would reference aninstance_id.3. Example Workflow
4. Benefits
5. Real-world Scenario
This change would significantly improve usability, reduce errors, and streamline database management in complex environments.