making code for inscription cas sensitive when checking against existence

This commit is contained in:
Olivier Legat 2021-07-21 12:54:53 +02:00
parent b8663caea1
commit 0deec3d68c

View file

@ -20,10 +20,12 @@ class CreateSalariesTable extends Migration
$table->string('matricule');
$table->string('nom')->nullable();
$table->string('prenom')->nullable();
$table->string('code')->nullable();
//$table->string('code')->nullable();
$table->timestamps();
});
DB::statement('ALTER TABLE `salaries` ADD `code` VARBINARY(50) AFTER `prenom`');
}
/**