mesa vacía en laravel
MyModel::truncate();
Stormy Scarab
MyModel::truncate();
// Delete everythin in the table
// Option 1
Project::truncate();
// Option 2
Project::whereNotNull('id')->delete();
// Option 3
Project::where('id', 'like' '%%')->delete();
// Option 4
DB::table('projects')->delete();
Visitor::query()->truncate();