diff --git a/database/migrations/2016_04_20_192649_create_joint_permissions_table.php b/database/migrations/2016_04_20_192649_create_joint_permissions_table.php index 5b43c7d54..31a7c5558 100644 --- a/database/migrations/2016_04_20_192649_create_joint_permissions_table.php +++ b/database/migrations/2016_04_20_192649_create_joint_permissions_table.php @@ -1,5 +1,6 @@ where('name', '=', $publicRoleData['display_name'])->count() > 0) { - $publicRoleData['display_name'] = $publicRoleData['display_name'] . str_random(2); + $publicRoleData['display_name'] = $publicRoleData['display_name'] . Str::random(2); } $publicRoleId = DB::table('roles')->insertGetId($publicRoleData);