MangaDex/database/seeders/MangaSeeder.php
2023-08-30 21:15:58 +06:30

19 lines
315 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Manga;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class MangaSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
Manga::factory(10)->create();
}
}