all customer from pargar fixing 3
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
if (! DB::table('settings')->where('key', 'jibit_enabled')->exists()) {
|
||||
DB::table('settings')->insert([
|
||||
'key' => 'jibit_enabled',
|
||||
'value' => 'true',
|
||||
'title_fa' => 'احراز هویت جیبیت',
|
||||
'type' => 'switch',
|
||||
'can_edit' => 0,
|
||||
'is_active' => 1,
|
||||
'description' => 'روشن: سرویس احراز هویت جیبیت (تطبیق کد ملی/موبایل و کارت بانکی) فعال است. خاموش: هیچ فراخوانی به جیبیت انجام نمیشود و احراز هویت خودکار کار نمیکند. فقط از صفحه دیپلوی قابل تغییر است.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
DB::table('settings')->where('key', 'jibit_enabled')->delete();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user