HelloCSE/database/seeders/DatabaseSeeder.php

15 lignes
283 o
PHP
Brut Vue normale Historique

2024-04-10 13:56:22 +02:00
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Users;
use App\Models\Profile;
class DatabaseSeeder extends Seeder{
public function run(){
Users::factory()->count(10)->create();
Profile::factory()->count(30)->create();
}
}