Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Question:

Is there a way how I can change the migrations order without remaking them all?

Solution:

If you want to change the order of DB migrations, just rename the file's timestamp, like:

from 2020_08_04_070443_create_products_table.php to 2020_07_04_070443_create_products_table.php (changed from 2020_08_04 to 2020_07_04).

Then run the migrations again.

Riadh Rahmi

Senior Web Developer (Drupal & Laravel)

I am a senior web developer, I have experience in planning and developing large scale dynamic web applications especially in Drupal, Laravel.

Web Posts

Search

Page Facebook