samedi 1 avril 2017

Multiple database connection with same table manes laravel

I have two database having tables with same name. I am using laravel to connect through this.

Note : I am able to make multiple connections but I am unable to access tables having same name.

Example

Database 1 :

Table: ads

Database 2

Table: ads

How can I make database connection / model for these two different tables having same name , which are in two different databases.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2oKF9Bv
via IFTTT

Aucun commentaire:

Enregistrer un commentaire