Changed $table->increments('id') to an integer. This way it's compatible with other (foreign key) integers when using relations in InnoDB.