laravel migration drop column if exists code example
Example: laravel drop column if exists
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('name');
});
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('name');
});