feat: add NDA/contract file uploads and technical skill checkboxes to career applications
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
<?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('nda_path')->nullable()->after('cv_path');
|
||||
$table->string('contract_path')->nullable()->after('nda_path');
|
||||
$table->boolean('git_knowledge')->default(false)->after('contract_path');
|
||||
$table->boolean('ai_usage')->default(false)->after('git_knowledge');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('career_applications', function (Blueprint $table) {
|
||||
$table->dropColumn(['nda_path', 'contract_path', 'git_knowledge', 'ai_usage']);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user