Add Radio Callsign To Airlines (#1475)

Adds a new db field for radio telephony callsign for airlines.

Also adds necessary field to admin template.
This commit is contained in:
B.Fatih KOZ
2022-08-21 17:48:18 +03:00
committed by GitHub
parent 695ab3a90d
commit 64e470abec
3 changed files with 39 additions and 22 deletions

View File

@@ -0,0 +1,14 @@
<?php
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class() extends Migration {
public function up()
{
Schema::table('airlines', function (Blueprint $table) {
$table->string('callsign')->nullable()->after('name');
});
}
};