Skip to content

Scan additional folders for modules not working with database seeders #1861

Open
@limsocheat

Description

@limsocheat

I followed this documentation to add additional folders for modules. I enabled scan->enabled to true, added autoload to composer.json, created module inside folder Connectors\Thalias, and enabled module.

I created a seeder inside Database\Seeders, then I ran the command: php artisan module:seed Thalias.
Terminal return success, but the seed is not running.

So I had to run the command: "php artisan db:seed --class=Connectors\\Thalias\\Database\\Seeders\\ThaliasDatabaseSeeder" manually.

How to fix this issue? thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions