laravel unique migration up and down code example
Example 1: create migration table in php
php artisan make:migration create_users_table
Example 2: laravel dropIndex
Schema::table('geo', function (Blueprint $table) {
$table->dropIndex(['state']); // Drops index 'geo_state_index'
});