intial ticket fix partial delete fix

This commit is contained in:
Mark Gregory
2026-06-18 17:15:56 +01:00
parent 70cd7149aa
commit 5064365af2
7 changed files with 325 additions and 25 deletions
+6
View File
@@ -23,6 +23,12 @@ final class Project extends Model
/** @var array<string, string> */
protected $casts = ['company_id' => 'integer', 'team_id' => 'integer', 'archived_at' => 'datetime', 'is_default' => 'boolean'];
/** @return BelongsTo<\App\Models\Company, Project> */
public function company(): BelongsTo
{
return $this->belongsTo(\App\Models\Company::class, 'company_id');
}
/** @return BelongsTo<Team, Project> */
public function team(): BelongsTo
{