package __PACKAGE__.data.local import androidx.room.Room import androidx.room.RoomDatabase import java.io.File // Room KMP on the JVM uses the same BundledSQLiteDriver as iOS (set in buildDatabase). The // dev-client keeps its cache in the OS temp dir — disposable by design, like the dev loop itself. actual fun getDatabaseBuilder(): RoomDatabase.Builder { val dbDir = File(System.getProperty("java.io.tmpdir"), "__PACKAGE__-dev-client") dbDir.mkdirs() return Room.databaseBuilder(name = File(dbDir, "app.db").absolutePath) }