In my laravel project I am using multi tenancy. For project related work I am creating a laravel custom artisan command. I am trying to connect with repository model in that artisan command that I am creating. But I could not connect with the database. It says
Database [tenant] not configured.
How to use multi tenancy in my custom artisan command. So that I can use all the needed repository models in custom artisan command. Please suggest.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire