Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Felice Ostuni committed Jun 12, 2024
1 parent f406042 commit 1131eb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Models/Article.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class Article extends Model
'public' => 0,
];

protected $guarded = [];

public static function ssearchFallback($query)
{
return static::query()->where(function ($q) use ($query) {
Expand Down
2 changes: 2 additions & 0 deletions tests/Models/Author.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class Author extends Model
use SSearch;
public $table = 'rapyd_demo_users';

protected $guarded = [];

public static function ssearchFallback($query)
{
return static::query()
Expand Down

0 comments on commit 1131eb7

Please sign in to comment.