Ajustement des scores : test technique rapporté sur 20 et moyenne pondérée corrigée

This commit is contained in:
jeremy bayse
2026-03-20 17:46:42 +01:00
parent ec75942a79
commit 5c2bcb0169
5 changed files with 150 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
<?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->decimal('cv_score', 5, 2)->nullable()->after('notes');
$table->decimal('motivation_score', 5, 2)->nullable()->after('cv_score');
$table->decimal('interview_score', 5, 2)->nullable()->after('motivation_score');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('candidates', function (Blueprint $table) {
$table->dropColumn(['cv_score', 'motivation_score', 'interview_score']);
});
}
};