Update versions and fix database replication (init values are changeable) in

CloneProject.php
This commit is contained in:
Andras Bacsai 2023-11-08 09:07:30 +01:00
parent 332a0b9e04
commit 4dc3db3845
4 changed files with 4 additions and 3 deletions

View File

@ -105,6 +105,7 @@ public function clone()
$newDatabase = $database->replicate()->fill([ $newDatabase = $database->replicate()->fill([
'uuid' => $uuid, 'uuid' => $uuid,
'status' => 'exited', 'status' => 'exited',
'started_at' => null,
'environment_id' => $newEnvironment->id, 'environment_id' => $newEnvironment->id,
'destination_id' => $this->selectedServer, 'destination_id' => $this->selectedServer,
]); ]);

View File

@ -7,7 +7,7 @@
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.112', 'release' => '4.0.0-beta.113',
// When left empty or `null` the Laravel environment will be used // When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'), 'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-beta.112'; return '4.0.0-beta.113';

View File

@ -4,7 +4,7 @@
"version": "3.12.36" "version": "3.12.36"
}, },
"v4": { "v4": {
"version": "4.0.0-beta.112" "version": "4.0.0-beta.113"
} }
} }
} }