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

This commit is contained in:
Andras Bacsai
2026-07-07 18:13:37 +02:00
1315 changed files with 106601 additions and 22122 deletions
+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()