Monday, February 27, 2017

[SOLVED]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?


via Yahya Uddin

Advertisement