📅  最后修改于: 2022-03-11 15:05:36.508000             🧑  作者: Mango
As the error says, you can not truncate tables referenced by foreign keys.
Delete should work though...
DB::table('some_table')->delete();