clear the models' cache when switching to a different database