Add StudentConfig and set_foreign_id to Student