diff --git a/src/Models/ShortUrlOwnership.php b/src/Models/ShortUrlOwnership.php index 61f30be..59013d1 100644 --- a/src/Models/ShortUrlOwnership.php +++ b/src/Models/ShortUrlOwnership.php @@ -4,11 +4,12 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\SoftDeletes; use YorCreative\UrlShortener\Traits\PublishableHasFactory; class ShortUrlOwnership extends Model { - use PublishableHasFactory; + use PublishableHasFactory, SoftDeletes; /** * @var bool diff --git a/src/Models/ShortUrlTracing.php b/src/Models/ShortUrlTracing.php index 9ec65d8..ebf7b19 100644 --- a/src/Models/ShortUrlTracing.php +++ b/src/Models/ShortUrlTracing.php @@ -4,11 +4,12 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\SoftDeletes; use YorCreative\UrlShortener\Traits\PublishableHasFactory; class ShortUrlTracing extends Model { - use PublishableHasFactory; + use PublishableHasFactory, SoftDeletes; /** * @var bool