Answers for "laravel artisan re-seed"

PHP
3

refresh seeder laravel

php artisan migrate:refresh --seed
Posted by: Guest on November-25-2020
0

make php artisan db:seed working

class DatabaseSeeder extends Seeder
{
    public function run()
    {
        $this->call(ArticlesTableSeeder::class);
        $this->call(UsersTableSeeder::class);
    }
}
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language