Hey! I am using <this guide> to include SQLCipher ...
# multiplatform
a
Hey! I am using this guide to include SQLCipher in my project. At first it worked fine until I added my first migration. Now when I run my code it throws out expection on iOS:
Copy code
[logging] file is not a database in "PRAGMA journal_mode"
error while compiling: PRAGMA journal_mode | error code SQLITE_NOTADB
co.touchlab.sqliter.interop.SQLiteExceptionErrorCode: error while compiling: PRAGMA journal_mode
Has anyone encountered the same issue?
😱 1
m
We switched to SQLCipher recently, but haven't done any migrations since. I'll check what happens when I try to perform one. I hope this is not a general issue...
🤞🏻 1
a
I hope this is not a general issue.
s
We use SQLCipher with our SQLDelight configuration and we've had db migrations in an app which had worked. We haven't done any migrations in past few months in the same app so not sure if any newer version of either SQLCipher or SQLDelight has introduced any new bugs.
a
@shaktiman_droid maybe you can share the version of SQLDelight and SQLCipher you are using?
s
When we last added a migration about three month ago, the versions were
sqlcipher-4.4.0
and
sqldelight-1.4.4
with Kotlin
1.4.32
@aiidziis ^
🙇🏻 1
We've since updated versions but haven't had any db migrations after that
a
Did you update the sqliter lib as well?
s
yes. Previously it was as
0.7.1
and now it's as
1.0.6
Note that sqliter artifact name has changed now