builder->table( $this->table, function ($table) { $table->string('value')->nullable()->change(); } ); } catch (\Exception $e) { dd($e->getMessage()); } } /** * Reverse the migrations. * * @return void */ public function migrateDown() { try { $this->builder->table( $this->table, function ($table) { $table->string('value')->change(); } ); } catch (\Exception $e) { dd($e->getMessage()); } } }