Make foreign keys unsigned for pivot table generation