![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/clinic.corals.io/database/seeders/ |
<?php namespace Database\Seeders; use App\Models\Setting; use Illuminate\Database\Seeder; class SettingTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $logoUrl = ('assets/image/infycare-logo.png'); $favicon = ('assets/image/infyCare-favicon.ico'); Setting::create(['key' => 'clinic_name', 'value' => 'Clinic Appointment Management']); Setting::create(['key' => 'contact_no', 'value' => '1234567890']); Setting::create(['key' => 'email', 'value' => '[email protected]']); Setting::create(['key' => 'specialities', 'value' => '1']); Setting::create(['key' => 'currency', 'value' => '1']); Setting::create([ 'key' => 'address_one', 'value' => 'C-303, Atlanta Shopping Mall, Nr. Sudama Chowk, Mota Varachha, Surat, Gujarat, India.', ]); Setting::create([ 'key' => 'address_two', 'value' => 'C-303, Atlanta Shopping Mall, Nr. Sudama Chowk, Mota Varachha, Surat, Gujarat, India.', ]); Setting::create(['key' => 'country_id', 'value' => '101']); Setting::create(['key' => 'state_id', 'value' => '12']); Setting::create(['key' => 'city_id', 'value' => '1041']); Setting::create(['key' => 'postal_code', 'value' => '394101']); Setting::create(['key' => 'logo', 'value' => $logoUrl]); Setting::create(['key' => 'favicon', 'value' => $favicon]); Setting::create(['key' => 'region_code', 'value' => '91']); } }