feat: add horizon server details to queue

This commit is contained in:
Andras Bacsai
2025-01-10 15:39:22 +01:00
parent b8f1ded9f8
commit 765e1ea04b
6 changed files with 79 additions and 4 deletions

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('application_deployment_queues', function (Blueprint $table) {
$table->string('horizon_job_status')->nullable();
$table->string('horizon_job_worker')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('application_deployment_queues', function (Blueprint $table) {
$table->dropColumn('horizon_job_status');
$table->dropColumn('horizon_job_worker');
});
}
};