string('first_name')->default('')->change(); $table->string('last_name')->default('')->change(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('users', function (Blueprint $table) { $table->string('first_name')->nullable(false)->change(); $table->string('last_name')->nullable(false)->change(); }); } };