How to Make a Column Invisible in Laravel Migration
In this lesson, we are going to see how to make a column invisible in Laravel migration, the invisible modifier is used to make a column invisible.
The invisible modifier
The invisible modifier is used to make a column invisible when using SELECT * QUERY.
Schema::table('users', function($table)
{
$table->string('ipAddress')->invisible();
});