Level 28
Why not copy the migration files into the refactored and run
php artisan migrate --pretend
So you can see what the SQL statements that will be executed.
see: https://laravel.com/docs/12.x/migrations#running-migrations
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
the situation is the following:
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
Please or to participate in this conversation.