1Since increments() creates an unsigned integer column, you need to define the foreign key column as unsigned integer too.
2
3Default migrations in Laravel 6+ use bigIncrements(), so you need to use unsignedBigInteger() method:
4
5$table->unsignedBigInteger('order_id');
6https://laravel.com/docs/6.x/migrations#foreign-key-constraints
7
8For default migrations in older versions of Laravel use unsignedInteger() method:
9
10$table->unsignedInteger('order_id');
11Or:
12
13$table->integer('order_id')->unsigned();