chore: remove unused computed fields
This commit is contained in:
parent
259d23d4c6
commit
fc1963f642
1 changed files with 0 additions and 10 deletions
|
|
@ -72,8 +72,6 @@ public function cloneTo($destination_id) // issues is applications table stuff i
|
||||||
'id',
|
'id',
|
||||||
'created_at',
|
'created_at',
|
||||||
'updated_at',
|
'updated_at',
|
||||||
'additional_servers_count', // not needed because it only is computed for the application
|
|
||||||
'additional_networks_count',
|
|
||||||
])->fill([
|
])->fill([
|
||||||
'resourceable_id' => $new_resource->id,
|
'resourceable_id' => $new_resource->id,
|
||||||
'resourceable_type' => $new_resource->getMorphClass(),
|
'resourceable_type' => $new_resource->getMorphClass(),
|
||||||
|
|
@ -90,8 +88,6 @@ public function cloneTo($destination_id) // issues is applications table stuff i
|
||||||
'id',
|
'id',
|
||||||
'created_at',
|
'created_at',
|
||||||
'updated_at',
|
'updated_at',
|
||||||
'additional_servers_count',
|
|
||||||
'additional_networks_count',
|
|
||||||
])->fill([
|
])->fill([
|
||||||
'name' => $volumeName,
|
'name' => $volumeName,
|
||||||
'resource_id' => $new_resource->id,
|
'resource_id' => $new_resource->id,
|
||||||
|
|
@ -120,8 +116,6 @@ public function cloneTo($destination_id) // issues is applications table stuff i
|
||||||
'id',
|
'id',
|
||||||
'created_at',
|
'created_at',
|
||||||
'updated_at',
|
'updated_at',
|
||||||
'additional_servers_count',
|
|
||||||
'additional_networks_count',
|
|
||||||
])->fill([
|
])->fill([
|
||||||
'uuid' => $uuid,
|
'uuid' => $uuid,
|
||||||
'name' => $this->resource->name.'-clone-'.$uuid,
|
'name' => $this->resource->name.'-clone-'.$uuid,
|
||||||
|
|
@ -148,8 +142,6 @@ public function cloneTo($destination_id) // issues is applications table stuff i
|
||||||
'id',
|
'id',
|
||||||
'created_at',
|
'created_at',
|
||||||
'updated_at',
|
'updated_at',
|
||||||
'additional_servers_count',
|
|
||||||
'additional_networks_count',
|
|
||||||
])->fill($payload);
|
])->fill($payload);
|
||||||
$newEnvironmentVariable->save();
|
$newEnvironmentVariable->save();
|
||||||
}
|
}
|
||||||
|
|
@ -166,8 +158,6 @@ public function cloneTo($destination_id) // issues is applications table stuff i
|
||||||
'id',
|
'id',
|
||||||
'created_at',
|
'created_at',
|
||||||
'updated_at',
|
'updated_at',
|
||||||
'additional_servers_count',
|
|
||||||
'additional_networks_count',
|
|
||||||
])->fill([
|
])->fill([
|
||||||
'uuid' => $uuid,
|
'uuid' => $uuid,
|
||||||
'name' => $this->resource->name.'-clone-'.$uuid,
|
'name' => $this->resource->name.'-clone-'.$uuid,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue