refactor(v5): remove Project model and consolidate v5 migrations

Drop v5_projects table, Project model, and related alter-table
migrations; fold cluster_id and nullable private_key_id into the
initial v5_servers migration; rename migration files to v5_ prefix;
strip cooldServers/privateKeys/teams props from HomeController and
Home page.
This commit is contained in:
Andras Bacsai committed 2026-06-16 16:57:52 +02:00
1 parent 5c23b9aaa5
commit 9566b259b2
10 files changed
+35 -498

No files matched your search

-29
View File
@@ -1,29 +0,0 @@
<?php
namespace App\Models\V5;
use App\Models\Team;
use App\Models\User;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Project extends V5Model
{
protected $table = 'v5_projects';
protected $fillable = [
'team_id',
'created_by_user_id',
'name',
'description',
];
public function team(): BelongsTo
{
return $this->belongsTo(Team::class);
}
public function creator(): BelongsTo
{
return $this->belongsTo(User::class, 'created_by_user_id');
}
}