samedi 27 janvier 2018

Laravel still expects to find deleted_at column after I remove softDelete

I just removed softDelete from a table with this migration:

   Schema::table("items", function ($table) {
      $table->dropSoftDeletes();
   });

But now every query results in:

Column not found: 1054 Unknown column 'items.deleted_at' in 'where clause' 

Nowhere does the code explicitly refer to this column. Has it been cached somewhere, and if so, how to clear it?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DH8vga
via IFTTT

Aucun commentaire:

Enregistrer un commentaire