provideRoomDatabase

@Singleton
@Provides
fun provideRoomDatabase(appContext: Context): JetpackDatabase(source)

Provides the database with destructive fallback for missing version migration paths.

Return

The singleton JetpackDatabase.

Parameters

appContext

Application context used to locate the database file.