unique column in in laravel migration code example
Example 1: laravel rollback last migration
php artisan migrate:rollback --step=1
Example 2: laravel migration add unique column
Schema::table('tableName', function($table)
{
$table->string('column-name')->unique(); //notice the parenthesis I added
});