fix foreign key / unsigned issue in migrations