boolean('has_roles')->default(false); $table->unsignedInteger('parent_id')->nullable(); $table->tinyInteger('role_id')->unsigned()->nullable()->index(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn('has_roles'); $table->dropColumn('parent_id'); $table->dropColumn('role_id'); }); } };