feat: enhance company history module with new font styles, improved localization functions, and optimized layout for better readability
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Page;
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class PageSeeder extends Seeder
|
||||
@@ -13,9 +14,9 @@ class PageSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
// İlk kullanıcıyı bul veya oluştur
|
||||
$author = \App\Models\User::first();
|
||||
$author = User::query()->first();
|
||||
if (!$author) {
|
||||
$author = \App\Models\User::create([
|
||||
$author = User::query()->create([
|
||||
'name' => 'Admin',
|
||||
'email' => 'admin@truncgil.com',
|
||||
'password' => bcrypt('password'),
|
||||
|
||||
Reference in New Issue
Block a user