mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +00:00
Added fail safe
This commit is contained in:
parent
22ac4a9b98
commit
2d71351ddd
1 changed files with 6 additions and 1 deletions
|
@ -436,7 +436,12 @@ public abstract class DB extends RoomDatabase {
|
|||
db.execSQL("DROP TRIGGER IF EXISTS `attachment_insert`");
|
||||
db.execSQL("DROP TRIGGER IF EXISTS `attachment_delete`");
|
||||
}
|
||||
createTriggers(db);
|
||||
|
||||
try {
|
||||
createTriggers(db);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue