laravel-schematics icon indicating copy to clipboard operation
laravel-schematics copied to clipboard

Schematics finds migrations but not models

Open rflatt-reassured opened this issue 4 years ago • 3 comments

As the subject says, schematics can find the migrations, but no models. We have written our code so that the routes are in devolved routes files - the code is separated into different modules, and each module has its own route file (eg Modules/Communication/Http/routes.php). Is there any way schematics can use this? The routes have been cached, and I can see them when I do php artisan route:list.

Thanks.

rflatt-reassured avatar Jun 25 '20 08:06 rflatt-reassured

I think the same way they find models, will work for this package:

https://github.com/sebastiaanluca/laravel-auto-morph-map/blob/master/src/Mapper.php

imanghafoori1 avatar Dec 13 '20 07:12 imanghafoori1

https://github.com/mtolhuys/laravel-schematics/pull/58

Dennis-Mwea avatar Dec 20 '20 16:12 Dennis-Mwea

Still facing the issue

TheDeadCode avatar Sep 02 '21 15:09 TheDeadCode