This commit is contained in:
Simon Pocrnjič
2025-09-26 06:02:59 +02:00
parent a8383d3a69
commit d17e34941b
11 changed files with 552 additions and 30 deletions
+2
View File
@@ -13,6 +13,8 @@ class Decision extends Model
/** @use HasFactory<\Database\Factories\DecisionFactory> */
use HasFactory;
protected $fillable = ['name', 'color_tag'];
public function actions(): BelongsToMany
{
return $this->belongsToMany(\App\Models\Action::class);