The error occured when there is two migration files between old Laravel and new Laravel codes.
I do it especially on Laravel 5 and it is migrated into laravel 10, and the debt is I didn't change the column length. So, when I do reference table. The problem occur.
The solution is change the id into BigUnsignedInteger or Laravel future compatible id and reference it.