📅  最后修改于: 2022-03-11 14:54:51.829000             🧑  作者: Mango
// Uncomment the below to wipe the table clean before populating
DB::table('table_name')->truncate();
//or
DB::table('table_name')->delete();
MyModel::truncate();