how to delete all table data without id in laravel code example
Example 1: truncate table laravel eloquent
MyModel::truncate();
Example 2: truncate table laravel eloquent
Visitor::query()->truncate();
MyModel::truncate();
Visitor::query()->truncate();