diff options
author | Kim Alvefur <zash@zash.se> | 2025-01-23 19:33:05 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2025-01-23 19:33:05 +0100 |
commit | c8134dd9a9dca28cfe3e59f9898018cf2130b0c5 (patch) | |
tree | f27e9cbee87dc064141ad6c60540977364407c0c /spec/scansion/muc_presence_probe.scs | |
parent | 654edd37bbf7608fa1f1889cda4604cdba76f20f (diff) | |
download | prosody-c8134dd9a9dca28cfe3e59f9898018cf2130b0c5.tar.gz prosody-c8134dd9a9dca28cfe3e59f9898018cf2130b0c5.zip |
mod_storage_sql: Detect SQLite3 without UPSERT (or SQLCipher 3.x)
SQLCipher v3.4.1 (the version in Debian 12) is based on SQLite3 v3.15.2,
while UPSERT support was introduced in SQLite3 v3.24.0
This check was not needed before because we v3.24.0 has not been in a
version of Debian we support for a long, long time.
Note however that SQLCipher databases are not compatible across major
versions, upgrading from v3.x to v4.x requires executing a migration.
Attempts at making `prosodyctl mod_storage_sql upgrade` perform such a
migration has not been successful.
Executing the following in the `sqlcipher` tool should do the migration:
PRAGMA key = '<key material>';
PRAGMA cipher_migrate;
Diffstat (limited to 'spec/scansion/muc_presence_probe.scs')
0 files changed, 0 insertions, 0 deletions