feat: add horizon server details to queue

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

No files matched your search

@@ -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');
});
}
};