How to Add a New Column after a Particular column to Existing Table of Laravel 7 in a migration?

How to add a column once I have migrated a table and having data with the existing table in Laragvel 7. it’s a super easy process. Let we have to create a table name as topics

Step-1:

Migrate the topics Table:

Run this command again

 

Step2:-

Run this command again

 

Step3:-

Open the CreateTopicsTable  files  \database\migrations

Here We want to add Some column after migration, so follow below steps

Step-4:

Run this command again

 

Step-5:

Updates the Table:

Open the UpdateTopicsTable files  \database\migrations

 

Step-6:

Run this command again