📜  无法截断外键约束中引用的表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:59.304000             🧑  作者: Mango

代码示例3
As the error says, you can not truncate tables referenced by foreign keys. 
Delete should work though...

DB::table('some_table')->delete();