(Context context)
| 90 | } |
| 91 | |
| 92 | private static AppDatabase create(Context context) { |
| 93 | return Room.databaseBuilder(context, AppDatabase.class, NAME) |
| 94 | .addMigrations(Migrations.MIGRATION_30_31) |
| 95 | .addMigrations(Migrations.MIGRATION_31_32) |
| 96 | .addMigrations(Migrations.MIGRATION_32_33) |
| 97 | .addMigrations(Migrations.MIGRATION_33_34) |
| 98 | .addMigrations(Migrations.MIGRATION_34_35) |
| 99 | .fallbackToDestructiveMigration(true) |
| 100 | .allowMainThreadQueries().build(); |
| 101 | } |
| 102 | |
| 103 | public abstract KeepDao getKeepDao(); |
| 104 |
no test coverage detected