upgrade fixes

This commit is contained in:
Saeed Vaziry 2024-03-23 15:33:36 +01:00
parent 6389e592a4
commit 6529c349b1
5 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@ public function up(): void
$table->longText('authentication')->nullable();
$table->longText('public_key')->nullable();
$table->string('status')->default('installing');
$table->tinyInteger('progress')->default(0);
$table->integer('progress')->default(0);
$table->string('progress_step')->nullable();
$table->timestamps();
});

View File

@ -12,10 +12,10 @@ public function up(): void
$table->bigIncrements('id');
$table->string('queue')->index();
$table->longText('payload');
$table->unsignedTinyInteger('attempts');
$table->unsignedInteger('reserved_at')->nullable();
$table->unsignedInteger('available_at');
$table->unsignedInteger('created_at');
$table->integer('attempts');
$table->integer('reserved_at')->nullable();
$table->integer('available_at');
$table->integer('created_at');
});
}

View File

@ -23,7 +23,7 @@ public function up(): void
$table->string('branch')->nullable();
$table->integer('port')->nullable();
$table->string('status')->default('installing');
$table->tinyInteger('progress')->default(0)->nullable();
$table->integer('progress')->default(0)->nullable();
$table->timestamps();
});
}

View File

@ -16,7 +16,7 @@ public function up(): void
$table->string('user');
$table->boolean('auto_start')->default(1);
$table->boolean('auto_restart')->default(1);
$table->tinyInteger('numprocs')->default(8);
$table->integer('numprocs')->default(8);
$table->boolean('redirect_stderr')->default(1);
$table->string('stdout_logfile')->nullable();
$table->string('status');

View File

@ -24,11 +24,11 @@
<x-tr>
<x-td class="truncate">
<a
href="{{ $deployment->commit_data["url"] }}"
href="{{ $deployment->commit_data["url"] ?? '#' }}"
target="_blank"
class="block max-w-[500px] truncate font-semibold text-primary-600"
>
{{ $deployment->commit_data["message"] }}
{{ $deployment->commit_data["message"] ?? "No message" }}
</a>
</x-td>
<x-td>