This commit is contained in:
Stefanescu Mihai
2026-03-19 19:47:06 +02:00
parent e8d2728d57
commit eb735a9a98
19 changed files with 860 additions and 9 deletions
+5
View File
@@ -50,6 +50,11 @@ class Project extends Model
return $this->hasMany(Event::class);
}
public function alertRules(): HasMany
{
return $this->hasMany(AlertRule::class);
}
public function regenerateKeys(): void
{
$this->update([