complet story 6.9 with qa tests
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Page;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class PageSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
Page::firstOrCreate(
|
||||
['slug' => 'terms'],
|
||||
[
|
||||
'title_ar' => 'شروط الخدمة',
|
||||
'title_en' => 'Terms of Service',
|
||||
'content_ar' => '',
|
||||
'content_en' => '',
|
||||
]
|
||||
);
|
||||
|
||||
Page::firstOrCreate(
|
||||
['slug' => 'privacy'],
|
||||
[
|
||||
'title_ar' => 'سياسة الخصوصية',
|
||||
'title_en' => 'Privacy Policy',
|
||||
'content_ar' => '',
|
||||
'content_en' => '',
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user