Answers for "how to empty table in laravel artisan command"

PHP
0

empty table in laravel

MyModel::truncate();
Posted by: Guest on June-19-2020
0

empty table in laravel

\App\Model::query()->delete();
Posted by: Guest on June-19-2020

Code answers related to "how to empty table in laravel artisan command"

Browse Popular Code Answers by Language