Archive: Helping solve a minor software issue in php laravel via Skype/Teamviewer

Budget 17$ per month
Posted: 5 years ago
Closed
Description
I need a Laravel Developer for about 1-2hours Skype/Teamviewer session with explaining me what to do/solving the issue in my local environment.

Currently I am working on installing multi tenancy in Laravel with the help of an online course.

At some point of the tutorial I can not proceed. Thats due to different Laravel version used in the video and on my local environment.

The uuid field for the tenant is only available in table companies but laravel is looking for a uuid field in the tenant_connections field. But there should be no need, despite the following error:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'uuid' in 'field list' (SQL: insert into tenant_connections (database, company_id, uuid, updated_at, created_at) values (fresh_12, 12, 3d98bc5a-cf74-4cb1-9b30-63a47a42de4a, 2019-03-26 10:53:07, 2019-03-26 10:53:07))

I tried to work around this problem by adding the requested field (with knowing of no longterm solution). Then laravel gives another error message:

Argument 1 passed to App\TenantConnection::newDatabaseConnection() must implement interface App\Tenant\Models\Tenant, instance of App\TenantConnection given, called in /home/vagrant/code/app/Tenant/Traits/IsTenant.php on line 23
Skills:
applications developer,database,laravel framework,PHP programming language,software development,user interface (UI)
Category