diff --git a/database/migrations/2023_06_28_155124_create_roles.php b/database/migrations/2023_06_28_155124_create_roles.php index ed1d755..94ad89f 100644 --- a/database/migrations/2023_06_28_155124_create_roles.php +++ b/database/migrations/2023_06_28_155124_create_roles.php @@ -18,14 +18,14 @@ return new class extends Migration Schema::create('roles', function (Blueprint $table) { $table->id(); $table->string('name'); - $table->string('slug')->unique(); + $table->string('code')->unique(); $table->timestamps(); $table->softDeletes(); }); DB::table('roles')->insert([ 'name' => 'Administrator', - 'slug' => 'admin', + 'code' => 'admin', 'created_at' => Carbon::now(), 'updated_at' => Carbon::now() ]);