Update Laraship to Laravel 8 Issue: Updating Module: There is no role named `superuser`.

Laraship QuestionsCategory: TechnicalUpdate Laraship to Laravel 8 Issue: Updating Module: There is no role named `superuser`.
Vishal Verma asked 3 years ago
I run following command
  1. composer update
  2. php artisan migrate to have laraship db
  3. then i run commands given in your blog for module update
it shows  Updating Module: Activity Log There is no role named `superuser`. Updating Module: File Manager There is no role named `superuser`. Updating Module: Base Foundation There is no role named `superuser`. Updating Module: Media Manager There is no role named `superuser`. Updating Module: Menu Manager There is no role named `superuser`. Updating Module: Settings Manager There is no role named `superuser`. Updating Module: Theme Manager There is no role named `superuser`. Updating Module: User Manager There is no role named `superuser`.   This output and running at local give default coral text on site.   Please help me to update this.  
1 Answers
laraship Staff answered 3 years ago

Hello,
Superuser role is not something new, looks like you changed the existing role name or add it using tinker
PHP artisan tinker

\DB::table(‘roles’)->insert([
    [
        ‘id’ => 1,
        ‘name’ => ‘superuser’,
        ‘label’ => ‘Super User’,
        ‘guard_name’ => config(‘auth.defaults.guard’),
        ‘subscription_required’ => 0,
        ‘created_at’ => \Carbon\Carbon::now(),
        ‘updated_at’ => \Carbon\Carbon::now(),
    ],
);