Bump @signalapp/sqlcipher to 2.0.0

Co-authored-by: Fedor Indutny <indutny@signal.org>
This commit is contained in:
Jamie Kyle 2025-04-03 13:22:55 -07:00 committed by GitHub
commit 28f4157a2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 7 deletions

View file

@ -10,7 +10,9 @@ import { SCHEMA_VERSIONS } from '../../sql/migrations';
import { consoleLogger } from '../../util/consoleLogger';
export function createDB(): WritableDB {
return new SQL(':memory:') as WritableDB;
const db = new SQL(':memory:') as WritableDB;
db.initTokenizer();
return db;
}
export function updateToVersion(db: WritableDB, version: number): void {