Prep inMemory database

This commit is contained in:
Kgothatso Ngako
2026-03-31 23:37:39 +02:00
parent 16b278556c
commit 21230cf365
7 changed files with 33 additions and 1 deletions

View File

@@ -15,4 +15,10 @@ actual object PlatformDatabaseBuilder {
name = dbFile.absolutePath
)
}
actual fun getInMemoryDatabaseBuilder(platform: PlatformContext): RoomDatabase.Builder<AuxDatabase> {
return Room.inMemoryDatabaseBuilder(
context = platform.applicationContext
)
}
}