How to really get rid of a migration

1 minute read

November 4, 2016

I'm human, I change my mind a lot. So when I renamed a migration and tried to run

php artisan migrate:refresh --seed

I got the red block of death:

_05_18_211307_create_people_table.php): failed to open stream: No such file or directory

... I know the file doesn't exist anymore... I deleted it 5 commits ago, so what now?

I needed to dump the composer autoloader file.

composer dump-autoload

And then

php artisan migrate:refresh --seed

No red blocks!! Yay!


Looking for more?

WIP: Laracon 2018

Laracon was this past week and it was amazing! Last night I tweeted this out:

I don't know where to begin, or how to fit everything I'm feeling into a tweet, but...

Jul 27, 2018

2 minute read

My Work Spotify Playlists

Here's a list of playlists I rotate through when I need get down to business.

  • Deep Work created by Chris Gmyr
  • Deep House Relax created by Spotify
  • mint...

May 14, 2018

1 minute read