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