Link:  https://j-laravel-news.com/2020/06/25/how-to-alter-tables-in-production-when-records-are-in-millions-the-right-way/

As a developer, I have experienced changes in an app when it is in production and the records have grown up to millions. In this specific case if you want to alter a column using simple migrations that will not work because of the following reasons:

laravel alter tables

It is not so easy if your production servers are under heavy load and the database tables have 100 million rows. Because such a migration will run for some seconds or even minutes and the database table can be locked for this time period – a no-go on a zero-downtime environment.