Ajustement des scores : test technique rapporté sur 20 et moyenne pondérée corrigée
This commit is contained in:
@@ -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']);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user