mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 18:22:16 +01:00
Renamed jetstream team to organization
This commit is contained in:
@@ -16,7 +16,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* @property string $project_id
|
||||
* @property string $organization_id
|
||||
* @property-read Project $project
|
||||
* @property-read Team $organization
|
||||
* @property-read Organization $organization
|
||||
*
|
||||
* @method static TaskFactory factory()
|
||||
*/
|
||||
@@ -43,10 +43,10 @@ class Task extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* @return BelongsTo<Team, Task>
|
||||
* @return BelongsTo<Organization, Task>
|
||||
*/
|
||||
public function organization(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Team::class, 'organization_id');
|
||||
return $this->belongsTo(Organization::class, 'organization_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user