Questions tagged as 'seeders'

1
answer

User Seeds Laravel do not work correctly with Passport

I am developing an API in Laravel by relying on the authentication it provides Passport , populating the development database with the Seeders and performing the tests with the client Postman . The problem is this:    By populating m...
asked by 04.04.2017 / 09:35
1
answer

Error Call to undefined function storage_patch () when I run a seeder in laravel

I'm trying to run a seeder but I get the error: Call to undefined function storage_patch() I could not find the one. I have a table in migration called user with the sgts fields: use Illuminate\Support\Facades\Schema; use Illuminate\...
asked by 26.10.2018 / 21:08
1
answer

error when using factory faker

Hi, I'm trying to use faker, to feed my bd, but it throws me the following error:    ReflectionException: Class CarnetSeeder does not exist I show you below how I have the files My table <?php use Illuminate\Support\Facades\Schema;...
asked by 22.04.2018 / 14:18
1
answer

FatalThrowableError when using DatabaseSeeder, to populate

I'm doing a test, to populate the bd, using DatabaseSeeder. I have an individual VehiculosSeeder file, a Vehiculo model, linked to the vehicles table, and when I try to run from phisic artisan db: seed console, I get this: Symfony\Componen...
asked by 17.04.2018 / 17:50