laravel clear table data code example Example 1: empty table in laravel MyModel::truncate(); Example 2: empty table in laravel \App\Model::query()->delete();