Add solutions image upload field and update settings: introduce a file upload component for solutions images in ManageSolutions, add solutions_image property to SolutionSettings, and update related database migrations and views to support dynamic image display.

This commit is contained in:
2025-07-28 17:43:05 +05:00
parent bae4204d44
commit 2d1c7ea4f9
10 changed files with 58 additions and 76 deletions

View File

@@ -15,6 +15,7 @@ class DatabaseSeeder extends Seeder
$this->call([
UsersTableSeeder::class,
BrandTableSeeder::class,
NewsTableSeeder::class,
]);
}
}

View File

@@ -0,0 +1,18 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\News;
class NewsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
News::factory()->count(20)->create();
}
}