(int startVersion, int endVersion)
| 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 |
no test coverage detected