Move all remaining stores to SQLCipher
This commit is contained in:
parent
7aa9031c7f
commit
1755e0adfd
25 changed files with 2464 additions and 2047 deletions
|
@ -72,16 +72,8 @@ function deleteDatabase() {
|
|||
before(async () => {
|
||||
await deleteDatabase();
|
||||
await window.Signal.Data.removeAll();
|
||||
|
||||
await Signal.Migrations.Migrations0DatabaseWithAttachmentData.run({
|
||||
Backbone,
|
||||
databaseName: Whisper.Database.id,
|
||||
logger: window.log,
|
||||
});
|
||||
});
|
||||
|
||||
async function clearDatabase() {
|
||||
const db = await Whisper.Database.open();
|
||||
await Whisper.Database.clear();
|
||||
await window.Signal.Data.removeAll();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue