Merge remote-tracking branch 'origin/next' into feat/api-move-resources-between-projects

This commit is contained in:
Andras Bacsai committed 2026-07-07 18:13:37 +02:00
commit cf63c7d154
1315 files changed
+106601 -22122

No files matched your search

+7 -2
View File
@@ -25,7 +25,12 @@ class Environment extends BaseModel
use HasFactory;
use HasSafeStringAttribute;
protected $guarded = [];
protected $fillable = [
'name',
'description',
'project_id',
'uuid',
];
protected static function booted()
{
@@ -63,7 +68,7 @@ class Environment extends BaseModel
public function environment_variables()
{
return $this->hasMany(SharedEnvironmentVariable::class);
return $this->hasMany(SharedEnvironmentVariable::class)->where('type', 'environment');
}
public function applications()