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

Multiple Database connection, What should I set connection in Corcel ? #618

Open
B3DTechnologies opened this issue Sep 6, 2022 · 1 comment

Comments

@B3DTechnologies
Copy link

Hi,
I am working with 2 subdomains with their own WordPress install. I am able to work with one database as mentioned in Corcel docs. Now I need to add another one.
How can I add another connection and add it to the corcel "connection"?

Should I take the default Laravel approach of managing multiple DB connections, and specify the connection at the model level?
I will keep the findings posted.

Thanks for such an awesome package.

@dangnhdev
Copy link

I need this too

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