Level 8
You have to use Database Seeders
Then you run: php artisan migrate:refresh --seed which will populate your data after the migration.
Hello guys,
is it possible to create fixed test data for my laravel installation which i can also migrate via php artisan?
I know the factory files but these files create dummy data.
I want to save 2 users as default .. because when i refresh the database, i have to manuell insert them again. Is there any standard process in laravel?
Thanks a lot!
Please or to participate in this conversation.