Skip to content

Commit

Permalink
Adding better Seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
MinePoS Dedicated committed Jul 4, 2018
1 parent f7fb36a commit 68b188d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions database/seeds/MinePoSInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ public function run()
$u->email = "[email protected]";
$u->password = \Hash::make("password");
$u->save();

$u->assignRole(\Spatie\Permission\Models\Role::all()->first());
}
}

0 comments on commit 68b188d

Please sign in to comment.