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