laravel edit 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();
});