Answers for "php artisan seed sql file"

PHP
1

how to make db seeder in laravel

php artisan make:seeder UsersTableSeeder
Posted by: Guest on January-06-2021
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