Renamed jetstream team to organization

This commit is contained in:
Constantin Graf
2024-01-21 19:52:19 +01:00
parent 6377df1f44
commit 0a8d958ccc
63 changed files with 461 additions and 329 deletions

View File

@@ -4,9 +4,9 @@ declare(strict_types=1);
namespace Database\Factories;
use App\Models\Organization;
use App\Models\Project;
use App\Models\Task;
use App\Models\Team;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
@@ -24,7 +24,7 @@ class TaskFactory extends Factory
return [
'name' => $this->faker->word(),
'project_id' => Project::factory(),
'organization_id' => Team::factory(),
'organization_id' => Organization::factory(),
];
}
@@ -37,7 +37,7 @@ class TaskFactory extends Factory
});
}
public function forOrganization(Team $organization): self
public function forOrganization(Organization $organization): self
{
return $this->state(function (array $attributes) use ($organization) {
return [