mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-09 09:05:56 +01:00
Fix DatabaseConsistencyTest.
This commit is contained in:
1 parent
07f6baf7c1
commit
646f79be7d
1 file changed
+1
+1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user