how to validate name in with unique to update data in laravel 8 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();
});