laravel add primary key migration code example
Example 1: create laravel migration
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'
});