enum("role", ["student", "admin", "teacher"])->default("student"); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table("users", function(Blueprint $table) { $table->dropColumn("role"); }); } };