Удалить все ряды из таблицы Laravel
MyModel::truncate();
Stormy Scarab
MyModel::truncate();
// Uncomment the below to wipe the table clean before populating
DB::table('table_name')->truncate();
//or
DB::table('table_name')->delete();
// Uncomment the below to wipe the table clean before populating
DB::table('table_name')->truncate();
//or
DB::table('table_name')->delete();
MyModel::truncate();
Visitor::query()->truncate();