Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thesimons's avatar

Migrate database from one laravel installation to another

Hello,

the situation is the following:

  • I developed an app - lets call it app1.com - in Laravel 12 and it's actually working.
  • I redesigned the app in my dev environment starting from the database of the the app1.com
  • All changes to the database are into migrations

Now I want to test the "refactored" app on test.app1.com starting from a copy with data of the database of app1.com.

The problem is that I changed the name of several migrations so if I simply run migrate with new db where I imported the data of the old one, it could create problems.

Is there a way to fix this issue?

Thanks, Simon

0 likes
1 reply

Please or to participate in this conversation.