Never edit an old migration that has already been run in production. Instead, create a new migration (e.g., add_views_to_articles_table) using Schema::table(), and write the reverse action inside down() so php artisan migrate:rollback works cleanly.
ADVERTISEMENT