You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using this package with my mongodb project but got stuck in the seeding phase.
This is the result i got from running php artisan world:init
Recreate:
create a new project, add Jenssegers Laravel Mongodb to the project and configure it as the default database for the project. Install khsing Laravel World package and follow the installation steps.
Previous Debug Steps:
I tried changing all migrations and seed to implement the specified mongodb alternatives in the root folder of khsing package in vendor but still unable to fix it but get this error:
Symfony\Component\Debug\Exception\FatalThrowableError
Call to a member function prepare() on null
The text was updated successfully, but these errors were encountered:
This is perharps because mongodb doesn't support the sql snytax. Look he is trying to disable/enable before and after seeding the data. What you can do is check if the DB connection is SQLiteConnection, MySqlConnection or PostgresConnection or "MongoDB.." then perform the statement. However, I'am not versed with mongodb so you might have to look for a way to disable constraints there. Hope it helps
I tried using this package with my mongodb project but got stuck in the seeding phase.
This is the result i got from running
php artisan world:init
Recreate:
create a new project, add Jenssegers Laravel Mongodb to the project and configure it as the default database for the project. Install khsing Laravel World package and follow the installation steps.
Previous Debug Steps:
I tried changing all migrations and seed to implement the specified mongodb alternatives in the root folder of khsing package in vendor but still unable to fix it but get this error:
The text was updated successfully, but these errors were encountered: