Fix crash when using stdb due to wrong schema

This commit is contained in:
Adam Brown 2023-01-26 21:24:49 +00:00
parent a0c3847611
commit 408513764c

View File

@ -59,7 +59,7 @@ internal class AppModule(context: Application, logger: MatrixLogger) {
}
private val driver = AndroidSqliteDriver(DapkDb.Schema, context, "dapk.db")
private val stDriver = AndroidSqliteDriver(DapkDb.Schema, context, "stdb.db")
private val stDriver = AndroidSqliteDriver(StDb.Schema, context, "stdb.db")
private val engineDatabase = DapkDb(driver)
private val stDatabase = StDb(stDriver)
val coroutineDispatchers = CoroutineDispatchers(Dispatchers.IO)