Laravel - Migrations - Renaming Indexes

To rename an index, you may use the renameIndex method provided by the schema builder blueprint. This method accepts the current index name as its first argument and the desired name as its second argument:

    
    $table->renameIndex('from', 'to')