SQL statements without actually executing them

author
0 minutes, 13 seconds Read

If you’re worried about what actual SQL queries will be executed by the “artisan migrate” command, run the command using the magic –pretend flag!

It will give you a sneak peek at all the SQL statements without actually executing them.


php artisan migrate --pretend
Laravel
Share To:

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *