HomePhabricator
Diffusion Comm 54db816d9eb9

[native] clear database when malformation is detected

Description

[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

Details

Provenance
kamilAuthored on Dec 21 2022, 1:30 PM
Reviewer
marcin
Differential Revision
D5995: [native] clear database when malformation is detected
Parents
rCOMM78591724e16f: [native] throw exception when migration process will fail
Branches
Unknown
Tags
Unknown