I\'m writing a migration to make certain columns in a table nullable right now. For the down function, I of course want to make those columns not nullable
nullable
not nullable
As of Laravel 5, it's possible to reverse this natively - simply pass false as an argument to nullable().
e.g.
$table -> string('foo') -> nullable(false) -> change();