[L6] Break search functionality without breaking the entire app

This commit is contained in:
Dane Everitt 2019-09-04 21:21:07 -07:00
parent c97461d602
commit 5b4a65a60c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 41 additions and 3 deletions

View file

@ -4,6 +4,7 @@ namespace Pterodactyl\Models;
use Schema;
use Illuminate\Notifications\Notifiable;
use Pterodactyl\Models\Traits\Searchable;
use Znck\Eloquent\Traits\BelongsToThrough;
/**
@ -52,7 +53,7 @@ use Znck\Eloquent\Traits\BelongsToThrough;
*/
class Server extends Validable
{
use BelongsToThrough, Notifiable;
use BelongsToThrough, Notifiable, Searchable;
/**
* The resource name for this model when it is transformed into an