mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +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_insert`");
|
||||||
db.execSQL("DROP TRIGGER IF EXISTS `attachment_delete`");
|
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