id(); $table->string('name')->unique(); // e.g., 'Admin', 'Editor' $table->string('slug')->unique(); // e.g., 'admin', 'editor' $table->string('description')->nullable(); $table->boolean('is_protected')->default(false); // Admin role protection $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('roles'); } };