[native] clear database when malformation is detected
Summary:
This code will execute when database initialization will fail for the second time. Should delete database and perform "soft login".
Context in ENG-2071
Test Plan: Make this code execute and check if new database is created, user is re-logged and data in database is populated
Reviewers: marcin, tomek
Reviewed By: marcin, tomek
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D5995