making code for inscription cas sensitive when checking against existence
This commit is contained in:
parent
b8663caea1
commit
0deec3d68c
1 changed files with 3 additions and 1 deletions
|
|
@ -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`');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue