- Introduced CustomerController for handling customer operations. - Added resourceful routes for customers in the web routes. - Updated DatabaseSeeder to include CustomerSeeder for initial data population. - Modified sidebar navigation to link to the customers index.
15 lines
229 B
PHP
15 lines
229 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Customer;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class CustomerSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
Customer::factory()->count(100)->create();
|
|
}
|
|
}
|