laravel index in mygrations code example
Example 1: laravel migration index
$table->index(['account_id', 'created_at']);
Example 2: laravel dropIndex
Schema::table('geo', function (Blueprint $table) {
$table->dropIndex(['state']); // Drops index 'geo_state_index'
});