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