add alarm level from db

This commit is contained in:
salam committed 2026-02-06 10:29:49 +01:00
1 parent 4e77862aa7
commit 40f40db63c
28 files changed
+248 -251

No files matched your search

-6
View File
@@ -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);