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('authentication')->nullable();
$table->longText('public_key')->nullable(); $table->longText('public_key')->nullable();
$table->string('status')->default('installing'); $table->string('status')->default('installing');
$table->tinyInteger('progress')->default(0); $table->integer('progress')->default(0);
$table->string('progress_step')->nullable(); $table->string('progress_step')->nullable();
$table->timestamps(); $table->timestamps();
}); });

View File

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

View File

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

View File

@ -16,7 +16,7 @@ public function up(): void
$table->string('user'); $table->string('user');
$table->boolean('auto_start')->default(1); $table->boolean('auto_start')->default(1);
$table->boolean('auto_restart')->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->boolean('redirect_stderr')->default(1);
$table->string('stdout_logfile')->nullable(); $table->string('stdout_logfile')->nullable();
$table->string('status'); $table->string('status');

View File

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