laravel migration delete table data code example
Example 1: laravel migration remove column
public function up()
{
Schema::table('table', function($table) {
$table->dropColumn('column_name');
});
}
Example 2: laravel migration table softdeletes
$ php artisan make:migration add_soft_deletes_to_user_table --table="users"}