Altering Table Through Migrations Laravel
It is a very difficult job to change the column name or type once it is migrated and has contents. In order to modify the column, we need to create another migration where we state the modifications. Let us create a migration first by using the following command Php artisan make:migration change_post_description_to_nullable_in_tbl_posts —table=tbl_posts This will …