fixes schema when using multiple entity managers