AI Analysis: persist analysis on candidate profile

This commit is contained in:
jeremy bayse
2026-03-22 22:32:10 +01:00
parent 6c1f6af523
commit 33fcdcac3d
4 changed files with 40 additions and 2 deletions

View File

@@ -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('candidates', function (Blueprint $table) {
$table->json('ai_analysis')->nullable()->after('interview_score');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('candidates', function (Blueprint $table) {
$table->dropColumn('ai_analysis');
});
}
};