Skip to content
Snippets Groups Projects
Commit f3573b5c authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

created default username password

parent 38272500
No related branches found
No related tags found
Loading
...@@ -11,6 +11,13 @@ class UsersSeeder extends Seeder ...@@ -11,6 +11,13 @@ class UsersSeeder extends Seeder
*/ */
public function run() public function run()
{ {
DB::table('users')->truncate();
DB::table('users')->insert(
[
'email' => 'admin',
'name' => 'admin',
'password' => Hash::make('admin'),
]
);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment