Skip to content

Commit 641f5b1

Browse files
committed
fix the seed issue of a blank last login --> http://cl.ly/image/1F3I3N450d3V
1 parent a2110fc commit 641f5b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Davzie/LaravelBootstrap/Seeds/UserTable.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ public function run()
1616
'first_name' => Config::get('laravel-bootstrap::setup.first-name'),
1717
'last_name' => Config::get('laravel-bootstrap::setup.last-name'),
1818
'password' => Hash::make( Config::get('laravel-bootstrap::setup.password') ),
19+
'last_login' => date('Y-m-d H:i:s'),
1920
]
2021
];
2122
DB::table('users')->insert($types);
2223
$this->command->info('User Table Seeded');
2324

2425
}
2526

26-
}
27+
}

0 commit comments

Comments
 (0)