resize public tables foreign keys