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.

Comments

Add new comment

Restricted HTML

Search

Page Facebook

Become a patron

If you need some help or you search a Drupal freelancer don't hesitate to contact us.

 

Contact Us

All the content is FREE but I still need your help

 

Become a patreon