feat: add ID photocopy upload field to career application form with validation and database storage

This commit is contained in:
Ümit Tunç
2026-06-01 23:32:52 +03:00
parent 93e45655eb
commit e23ac8c346
4 changed files with 58 additions and 0 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('id_photocopy_path')->nullable()->after('contract_path');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('career_applications', function (Blueprint $table) {
$table->dropColumn('id_photocopy_path');
});
}
};