Skip to content

Add and generate softdelete method by default

Compare
Choose a tag to compare
@hariadi hariadi released this 20 Sep 15:25
· 18 commits to master since this release

app:repository <model> by default will generate two method, forceDelete and restore.

To disable softdelete add option -d or --disable-softdelete like this:

php artisan app:repository Backend/Question -d

Your App/Repositories/Backend/Question/QuestionRepository will be created without delete and restore method