ticket story poitns rework

This commit is contained in:
2026-04-13 00:10:09 +02:00
parent 041e79efda
commit b3f2cc3afd
17 changed files with 208 additions and 73 deletions
+8 -1
View File
@@ -11,12 +11,19 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Support\Str;
#[Fillable(['name', 'key'])]
#[Fillable(['name', 'key', 'show_story_points'])]
class Project extends Model
{
/** @use HasFactory<ProjectFactory> */
use HasFactory;
protected function casts(): array
{
return [
'show_story_points' => 'boolean',
];
}
protected static function booted(): void
{
static::deleting(function (self $project): void {