diff --git a/app/models/Component.php b/app/models/Component.php index 6e386d07..db96dc2f 100644 --- a/app/models/Component.php +++ b/app/models/Component.php @@ -4,6 +4,7 @@ use Watson\Validating\ValidatingTrait; class Component extends Eloquent implements \Dingo\Api\Transformer\TransformableInterface { use ValidatingTrait; + use Illuminate\Database\Eloquent\SoftDeletingTrait; protected $rules = [ 'user_id' => 'integer|required',