Answers for "unique:table,column'.field laravel"

PHP
1

laravel migration alter column unique

$table->dropUnique('users_email_unique');
Posted by: Guest on August-31-2021
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 "unique:table,column'.field laravel"

Browse Popular Code Answers by Language