z-song / laravel-admin

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

Use customized models in the seeder #5812

Closed GromNaN closed 3 months ago

GromNaN commented 10 months 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.