When migrating my DB, this error appears. Below is my code followed by the error that I am getting when trying to run the migration.
Code
Just add ->unsigned()->index() at the end of the foreign key and it will work.
->unsigned()->index()