MCPcopy Create free account
hub / github.com/M66B/FairEmail / logMigration

Method logMigration

app/src/main/java/eu/faircode/email/DB.java:766–771  ·  view source on GitHub ↗
(int startVersion, int endVersion)

Source from the content-addressed store, hash-verified

764 }
765
766 private static void logMigration(int startVersion, int endVersion) {
767 Map<String, String> crumb = new HashMap<>();
768 crumb.put("startVersion", Integer.toString(startVersion));
769 crumb.put("endVersion", Integer.toString(endVersion));
770 Log.breadcrumb("Migration", crumb);
771 }
772
773 private static RoomDatabase.Builder<DB> migrate(final Context context, RoomDatabase.Builder<DB> builder) {
774 // https://www.sqlite.org/lang_altertable.html

Callers 1

migrateMethod · 0.95

Calls 3

breadcrumbMethod · 0.95
putMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected