champ de set Laravel unique

Schema::table('manufacturers', function($table)
{
    $table->string('name')->unique(); 
});
Alberto Peripolli