Migration from unencrypted to encrypted database file #3
Replies: 1 comment
-
I haven't used the API to do an ATTACH yet. But I think this would be really easy, as the ATTACH and DETACH are (I believe) both raw SQL commands that should work fine using the existing SqlDatabase execute(...) function. The SELECT would work either as raw SQL or using the query support in the API. |
Beta Was this translation helpful? Give feedback.
-
Hi! Does the library provide a wrapper or a sort of convenience method to perform the migration from an unencrypted to an encrypted database? I'm not yet relying on your library. Still, I'm trying to implement this feature in a Kotlin Multiplatform module of mine, and since I'm finding some issues I was considering using your project as a reference.
Basically, the operations that should be done to migrate a plaintext db to an encrypted one are the following:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions