When overriding already existing database the Integrity constraint violation occurs