lundi 27 février 2017

Run a raw SQL statement to rename an index in a Laravel migration

I want to run the following raw SQL statement in a Laravel migration:

RENAME INDEX offer_venue_id_fk_idx TO offers_venue_id_index

How can I do this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lMbfNf
via IFTTT

Aucun commentaire:

Enregistrer un commentaire