migrations required field laravel
snippet in php

migrations required field laravel

user3190

$table->string('foo')->nullable(false)->change();