hootlex / laravel-moderation

A simple Content Moderation System for Laravel 5.* that allows you to Approve or Reject resources like posts, comments, users, etc.
MIT License
527 stars 68 forks source link

laravel SoftDelete can't use #9

Closed dongm2ez closed 7 years ago

dongm2ez commented 8 years ago

help me

How do use laravel softDelete with the laravel-moderation extension

is laravel 5.2

dongm2ez commented 8 years ago

this is my sql Activity::withAnyStatus()->where('id', 1)->delete(); but sql update activity set moderated_at = '2016-08-01 19:03:03', updated_at = '2016-08-01 19:03:03' where id = '1' and activity.deleted_at is null

dongm2ez commented 8 years ago

this use is normal use Moderatable,SoftDeletes; but this use abnormal use SoftDeletes,Moderatable;

I don't know why,maybe u can talk me why. Thx!

dongm2ez commented 8 years ago

I am a Chinese, English is poor, hope you can understand what I said, this is machine translation for me

stephane-monnot commented 8 years ago

Have you solved your problem ? If not, could you provide your error message ? Sorry I can't speak chinese, but japanese. Is it better than english for you ?

hootlex commented 7 years ago

Fixed in v1.0.9