-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I am relatively new to using Laravel (just a couple of weeks) so I may be not handling things correctly. Another consideration is that I am using MongoDB as the database backend and I already have to replace Illuminate\Database\Eloquent\Models with MongoDB\Laravel\Eloquent\Model in laravel-permissions. I have done the same in the Models file.
In the LaravelTicketSystemProvider::boot() function a call is made to InstallController::inactiveMigrations() to retrieve a list of the migrations in the database which fails when the DB::select() attempts to read from the database. With a bunch of debugging I have determined that the root cause of the failure is that the reconnector property of Illuminate\Database\Connection is not getting set which caused the select() call to fail due to no database connection.
So I am not certain if this failure is due to using MongoDB instead of the traditional PostgreSQL or MySQL database. The other question that occurs to me is if laravel-ticket works on prior versions of Laravel but has some incompatibility with Laravel v10.