Created
October 16, 2023 15:43
-
-
Save igorescodro/5b0cbac5b174ec3a7eebe4cee9975bb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actual class DriverFactory(private val context: Context) { | |
actual fun createDriver(): SqlDriver { | |
return AndroidSqliteDriver(Database.Schema, context, "todo.db") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment