feat: add application type field to career applications and implement status filtering in admin panel

This commit is contained in:
Ümit Tunç
2026-05-11 08:28:48 +03:00
parent 932bb89454
commit 5f26e76143
7 changed files with 54 additions and 1 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('career_applications', function (Blueprint $table) {
$table->string('type')->default('job')->after('phone'); // job, internship
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('career_applications', function (Blueprint $table) {
$table->dropColumn('type');
});
}
};