Fix DatabaseConsistencyTest.
This commit is contained in:
parent
07f6baf7c1
commit
646f79be7d
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ class DatabaseConsistencyTest {
|
|||
.split("\n")
|
||||
.map { it.trim() }
|
||||
.joinToString(separator = " ")
|
||||
.replace(Regex("\\s+"), " ")
|
||||
.replace(Regex.fromLiteral("( "), "(")
|
||||
.replace(Regex.fromLiteral(" )"), ")")
|
||||
.replace(Regex("CREATE TABLE \"([a-z]+)\""), "CREATE TABLE $1") // for some reason SQLite will wrap table names in quotes for upgraded tables. This unwraps them.
|
||||
|
|
Loading…
Add table
Reference in a new issue