Handle case of existing database