我刚刚通过这个迁移文件从一个表中删除了softDelete:
Schema::table("items", function ($table) {
$table->dropSoftDeletes();
});
但现在每个查询都会出现以下结果:
Column not found: 1054 Unknown column 'items.deleted_at' in 'where clause'
代码中没有明确引用这一列。它是否被缓存了,如果是,如何清除?
我刚刚通过这个迁移文件从一个表中删除了softDelete:
Schema::table("items", function ($table) {
$table->dropSoftDeletes();
});
Column not found: 1054 Unknown column 'items.deleted_at' in 'where clause'
代码中没有明确引用这一列。它是否被缓存了,如果是,如何清除?