Skip to content

Commit a7b7d3c

Browse files
author
Liran Cohen
committed
Add soft deletes to custom fields model.
1 parent cf5583d commit a7b7d3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Models/CustomField.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
namespace Givebutter\LaravelCustomFields\Models;
44

5+
use Illuminate\Database\Eloquent\SoftDeletes;
56
use Illuminate\Database\Eloquent\Model;
67
use Illuminate\Validation\Rule;
78

89
class CustomField extends Model
910
{
11+
12+
use SoftDeletes;
13+
1014
protected $guarded = ['id'];
1115
protected $casts = [
1216
'answers' => 'array',

0 commit comments

Comments
 (0)