您必须首先删除外键约束,表格时。
Schema::table(‘tabletwo’, function(Blueprint $table)
{
$table->dropForeign(‘tabletwo_table_one_id_foreign’);
});
Schema::drop(‘tabletwo’);
</code>
我有两张桌子。
tableone:id,tabletwo_id
tabletwo:id,tableone_id
结构是这样的。它们使用外键连接,但现在我根本无法删除这些表。我的意思是 …