add alarm level from db
This commit is contained in:
1 parent
4e77862aa7
commit
40f40db63c
28 files changed
+248
-251
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\Scopes\SportScope;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Event extends Model
|
||||
@@ -28,11 +27,6 @@ class Event extends Model
|
||||
'away_id',
|
||||
];
|
||||
|
||||
protected static function booted(): void
|
||||
{
|
||||
static::addGlobalScope(new SportScope);
|
||||
}
|
||||
|
||||
public function provider()
|
||||
{
|
||||
return $this->belongsTo(Provider::class);
|
||||
|
||||
Reference in new issue
Block a user