change column laravel migration code example Example: migrations required field laravel $table->string('foo')->nullable(false)->change();