Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
limsocheat opened this issue May 27, 2024 · 1 comment
Open
Assignees

Comments

@limsocheat
Copy link

limsocheat commented May 27, 2024

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.

@dcblogdev dcblogdev self-assigned this Jun 15, 2024
@HanustaviraGA
Copy link

I face the same matters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants