Model ticket link counterparts explicitly
linter / quality (pull_request) Successful in 3m5s
tests / ci (8.4) (pull_request) Failing after 1m41s

This commit is contained in:
2026-05-23 10:29:22 +00:00
parent d60c33fa7c
commit 486994e441
22 changed files with 312 additions and 66 deletions
@@ -0,0 +1,28 @@
<?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('ticket_link_types', function (Blueprint $table) {
$table->string('counterpart_label')->nullable()->after('label');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('ticket_link_types', function (Blueprint $table) {
$table->dropColumn('counterpart_label');
});
}
};