| Server IP : 14.225.204.176 / Your IP : 216.73.216.6 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/home-services/database/seeds/ |
Upload File : |
<?php
/*
* File name: CustomFieldsTableSeeder.php
* Last modified: 2021.03.02 at 14:35:42
* Author: SmarterVision - https://codecanyon.net/user/smartervision
* Copyright (c) 2021
*/
use Illuminate\Database\Seeder;
class CustomFieldsTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
DB::table('custom_fields')->delete();
DB::table('custom_fields')->insert(array(
0 =>
array(
'id' => 5,
'name' => 'bio',
'type' => 'textarea',
'values' => NULL,
'disabled' => 0,
'required' => 0,
'in_table' => 0,
'bootstrap_column' => 6,
'order' => 1,
'custom_field_model' => 'App\\Models\\User',
'created_at' => '2019-09-06 21:43:58',
'updated_at' => '2019-09-06 21:43:58',
),
1 =>
array(
'id' => 6,
'name' => 'address',
'type' => 'text',
'values' => NULL,
'disabled' => 0,
'required' => 0,
'in_table' => 0,
'bootstrap_column' => 6,
'order' => 3,
'custom_field_model' => 'App\\Models\\User',
'created_at' => '2019-09-06 21:49:22',
'updated_at' => '2019-09-06 21:49:22',
),
));
}
}