From 7487351a4ecea3a0b5916911b9f3ba6b12bb3c05 Mon Sep 17 00:00:00 2001 From: mtvbrianking Date: Sat, 17 Aug 2019 20:51:27 +0300 Subject: [PATCH] Disable soft deletes. https://github.com/laravel/framework/issues/27968 --- src/Models/Token.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Models/Token.php b/src/Models/Token.php index e5bbc2d..68c97ef 100644 --- a/src/Models/Token.php +++ b/src/Models/Token.php @@ -6,7 +6,7 @@ namespace Bmatovu\MtnMomo\Models; use Bmatovu\MtnMomo\Traits\TokenUtilTrait; -use Illuminate\Database\Eloquent\SoftDeletes; +// use Illuminate\Database\Eloquent\SoftDeletes; use Bmatovu\OAuthNegotiator\Models\TokenInterface; use Illuminate\Database\Eloquent\Model as BaseModel; @@ -15,7 +15,8 @@ */ class Token extends BaseModel implements TokenInterface { - use SoftDeletes, TokenUtilTrait; + // use SoftDeletes; + use TokenUtilTrait; /** * The table associated with the model.