z-song / laravel-admin

Build a full-featured administrative interface in ten minutes
https://laravel-admin.org
MIT License
11.15k stars 2.82k forks source link

Use customized models in the seeder #5812

Closed GromNaN closed 7 months ago

GromNaN commented 1 year ago

The model classes can be customized in the config. This config are used correctly all over the project, except in the seeder for the first setup.

Using the config is necessary if the models use a different connection than the default.