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

How to setup to connect multiple databases? #41

Open
georgetseng opened this issue Aug 12, 2022 · 1 comment
Open

How to setup to connect multiple databases? #41

georgetseng opened this issue Aug 12, 2022 · 1 comment

Comments

@georgetseng
Copy link

I have more than one databases in a project. It seems Tatter will only go with the default database connection.
For those models with different databases, I add the $DBGroup property to its model class, but tables cannot be found - "Error: Table not present in schema".

How do I setup to work with different database models in a project?

Thank you

@MGatner
Copy link
Collaborator

MGatner commented Aug 13, 2022

This is a known limitation of Tatter\Schemas. Supporting multiple databases is planned work but thus far I'm the only one working on this pair of packages and it is not a need I have so is unlikely to be tackled soon.

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

2 participants