David Peach

Page 34 of 211

Posts by David Peach

19th January 2022

Destiny warlock power level 1224

My warlock in destiny at 1224 power level

Destiny warlock 1204 power

My warlock in destiny at 1204 power level.

16th January 2022

Destiny warlock power level 1172

My Warlock in Destiny 2 at power level 1172.

13th December 2021

Arthur Morgan in profile

Arthur Morgan sunset silhouette

15th November 2021

Finally playing the original Red Dead Redemption (haven’t played sequel yet either)

Really loving the O.G. game.

11th November 2021

Remember what you’ve learnt

10th November 2021

Lady in red

Walking through the blizzard

8th November 2021

Veteran Porter

31st October 2021

Halloween cat

20th October 2021

Preview Laravel’s migrations with the pretend flag

Here is the command to preview your Laravel migrations without running them:

cd /your/project/root
php artisan migrate --pretend

Laravel’s migrations give us the power to easily version control our database schema creations and updates.

In a recent task at work, I needed to find out why a particular migration was failing.

This is when I discovered the simple but super-useful flag --pretend, which will show you the queries that Laravel will run against your database without actually running those migrations.