Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple database support #50

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JohnathanWaters-Popmenu
Copy link

@JohnathanWaters-Popmenu JohnathanWaters-Popmenu commented Jan 22, 2025

This PR adds the ability to inspect multiple databases through the web interface. It utilizes active record's database pool and an abstract class that connects to all of the databases for the current environment. Path variables still work for selecting a database. If a path variable is set, the web interface will not show the database selector.

The multiple database selector will not show up on the web interface without enabling config.show_all_active_record_databases = true

@pawurb
Copy link
Owner

pawurb commented Jan 22, 2025

Thanks! can you add spec covering this new feature?

@pawurb
Copy link
Owner

pawurb commented Jan 22, 2025

btw I've disabled 2.6 CI you can rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants