Réalisation du tp3, tp4, tp5 et tp6 avec documentation.
This commit is contained in:
@@ -15,15 +15,12 @@ class DatabaseSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
// // User::factory(10)->create();
|
||||
// $this->call([
|
||||
// ClientSeeder::class,
|
||||
// ]);
|
||||
// TP3 : remplit les tables clients et products avec les exemples du sujet.
|
||||
$this->call([
|
||||
ClientSeeder::class,
|
||||
ProductSeeder::class,
|
||||
]);
|
||||
|
||||
$this->call([
|
||||
ProductSeeder::class,
|
||||
]);
|
||||
|
||||
User::factory()->create([
|
||||
'name' => 'Test User',
|
||||
'email' => 'test@example.com',
|
||||
|
||||
Reference in New Issue
Block a user