krlove / eloquent-model-generator

Eloquent Model Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SoftDelete trait

munizeverton opened this issue · comments

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

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

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

@Mikami382 it hasn't been merged yet.

@krlove could you look?