first commit
This commit is contained in:
42
database/seeds/PropertyExecuteSeeder.php
Normal file
42
database/seeds/PropertyExecuteSeeder.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class PropertyExecuteSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('property_executive')->delete();
|
||||
|
||||
\DB::table('property_executive')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'property_id' => 1,
|
||||
'executive_type_id' => 1,
|
||||
'name_surname' => 'Burhan Çetin',
|
||||
'email' => 'mail@burhancetin.com',
|
||||
'phone_code' => NULL,
|
||||
'phone' => NULL,
|
||||
'mobile_code' => NULL,
|
||||
'mobile' => NULL,
|
||||
'fax_code' => NULL,
|
||||
'fax' => NULL,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1571573358,
|
||||
'updated_at' => 1571573358,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user