Skip to content

Commit

Permalink
Adds soft deletes to ownership and tracing models
Browse files Browse the repository at this point in the history
  • Loading branch information
yordadev committed Jun 27, 2024
1 parent 9d2c906 commit fdd9523
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Models/ShortUrlOwnership.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/Models/ShortUrlTracing.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdd9523

Please sign in to comment.