Answers for "laravel set field unique"

PHP
1

laravel set field unique

Schema::table('manufacturers', function($table)
{
    $table->string('name')->unique(); 
});
Posted by: Guest on March-31-2020

Code answers related to "laravel set field unique"

Browse Popular Code Answers by Language