source: database/seeds/UserProfilesTableSeeder.php@ 7ed1069

Last change on this file since 7ed1069 was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago

initial commit

  • Property mode set to 100644
File size: 667 bytes
Line 
1<?php
2
3use Illuminate\Support\Carbon;
4use Illuminate\Database\Seeder;
5
6class UserProfilesTableSeeder extends Seeder
7{
8 /**
9 * Run the database seeds.
10 *
11 * @return void
12 */
13 public function run()
14 {
15 DB::table("user_profiles")->insert([
16 "user_id" => 1,
17 "profile_link" => "john.doe",
18 "technoblog_email" => "john.doe@technoblog.com",
19 "facebook_link" => "john.doe",
20 "instagram_link" => "johndoe",
21 "twitter_link" => "johndoe",
22 "youtube_link" => "johndoe",
23 "skype_link" => "j.doe",
24 "created_at" => Carbon::now()
25 ]);
26 }
27}
Note: See TracBrowser for help on using the repository browser.