Bump @signalapp/sqlcipher to 2.0.0
Co-authored-by: Fedor Indutny <indutny@signal.org>
This commit is contained in:
parent
811a4c98da
commit
28f4157a2e
5 changed files with 12 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue