Skip to content

Commit

Permalink
Update 0000_00_00_000000_create_roles_table.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hexters authored Sep 5, 2019
1 parent 54e7acf commit c6132f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Migrations/0000_00_00_000000_create_roles_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public function up()
});

$permission = new Permission;
Role::create([
$role = app(config('rolevel.models.roles'));
$role->create([
'name' => 'Superadmin',
'slug' => 'superadmin',
'description' => '',
Expand Down

0 comments on commit c6132f0

Please sign in to comment.