Added method setSchemaVersion()
This commit is contained in:
parent
5af6cc82fc
commit
166219d7e3
|
@ -29,6 +29,10 @@ actual fun createSqlDriverDriver(dbName: String, schema: SqlSchema<QueryResult.A
|
|||
}
|
||||
|
||||
|
||||
private fun setSchemaVersion(driver: SqlDriver, schemaVersion: Int) {
|
||||
driver.execute(null, "PRAGMA schema_version=$schemaVersion;", 0)
|
||||
}
|
||||
|
||||
private fun determineDataDirectory(): File {
|
||||
val currentDir = Path(System.getProperty("user.dir"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue