fully working now

This commit is contained in:
2025-05-07 15:11:58 +05:45
parent 12e3d4a2f0
commit 50258a116a
20 changed files with 574 additions and 80 deletions

View File

@ -0,0 +1,31 @@
<?php
namespace Database\Seeders;
use App\Models\Company;
use Illuminate\Database\Seeder;
class CompanySeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Company::create([
'name' => 'TechCorp',
'email' => 'techcorp@example.com',
'logo' => 'techcorp_logo.png', // Add a default logo or adjust the logic accordingly
'website' => 'https://techcorp.com',
]);
Company::create([
'name' => 'Web Solutions',
'email' => 'websolutions@example.com',
'logo' => 'websolutions_logo.png',
'website' => 'https://websolutions.com',
]);
}
}