laravel form request update unique code example
Example: laravel set field unique
Schema::table('manufacturers', function($table)
{
$table->string('name')->unique();
});
Schema::table('manufacturers', function($table)
{
$table->string('name')->unique();
});