migrate on appservice boot

This commit is contained in:
Andras Bacsai
2023-05-03 10:06:15 +02:00
parent 8bfdcdbf44
commit 1ad7d885b3
2 changed files with 5 additions and 11 deletions

View File

@@ -10,7 +10,6 @@ class ForceUpgrade extends Component
{
public function upgrade()
{
//if (env('APP_ENV') === 'local') {
if (config('app.env') === 'local') {
$server = Server::where('ip', 'coolify-testing-host')->first();
if (!$server) {