eloquent-model-generator icon indicating copy to clipboard operation
eloquent-model-generator copied to clipboard

SoftDelete trait

Open munizeverton opened this issue 6 years ago • 3 comments

Add use of the SoftDelete trait when the deleted_at field is present

munizeverton avatar Aug 06 '18 19:08 munizeverton

Also it adds the timestamps fields and softdeletes field to the $fillable. I always have to remove them. That would be some very cool thing to fix :) By the way thanks for the awesome tool

cacpmw avatar Nov 22 '18 14:11 cacpmw

Is this no longer working? My table has deleted_at but it doesn't add SoftDelete trait.

Cranbaerry avatar Mar 15 '22 11:03 Cranbaerry

@Mikami382 it hasn't been merged yet.

@krlove could you look?

munizeverton avatar Mar 15 '22 13:03 munizeverton