Skip to content

Fresh install using multi databases #449

Answered by malsgit
malsgit asked this question in Q&A
Discussion options

You must be logged in to vote

Solved it, it isn't clear in the documentation, to replace the following code in config>multitenancy.php

'tenant_database_connection_name' => null, 

 'landlord_database_connection_name' => null,

to

 'tenant_database_connection_name' =>  'tenant',

  'landlord_database_connection_name' => 'landlord',

It seems all the other steps where you are changing code you have code blocks, which makes it really clear....

it was just lost in Configuring the database connection in docs

No doubt looking at all the closed issues, with the same issue, which isn't a bug they will have more than likely missed this important step, like I did..

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by malsgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant