If you would try to run $table->dropForeign([column_name]);
to drop key it will drops the index and not the column itself. 🤔
So solution of this problem is:
Solution : Function drop the index in first schema and then drop the actual column in a second schema.
We will use down function for this:
Now you should run php artisan migrate to run the up function.
After this run php artisan migrate:rollback to run the down command.