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

Use multiple databases #11

Open
orryv opened this issue Oct 25, 2022 · 0 comments
Open

Use multiple databases #11

orryv opened this issue Oct 25, 2022 · 0 comments

Comments

@orryv
Copy link

orryv commented Oct 25, 2022

Issue

We have a huge database with over 1500 tables, our problem is that none of our db dumps have data in all tables. This means that when we want to unit test we need to be able to switch databases.

Solution

We were hoping for a way to automatically switch between databases during unit testing, whitout the need to run different test suites. We had thought about merging all our databases into one, by providing a prefix of which database it belongs to, but since we have migrations this isn't an option for us.

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

No branches or pull requests

1 participant