|
|
|
@ -8,6 +8,8 @@
|
|
|
|
|
(function () {
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
const { Migrations } = window.Signal;
|
|
|
|
|
|
|
|
|
|
window.Whisper = window.Whisper || {};
|
|
|
|
|
window.Whisper.Database = window.Whisper.Database || {};
|
|
|
|
|
window.Whisper.Database.id = window.Whisper.Database.id || 'signal';
|
|
|
|
@ -233,5 +235,17 @@
|
|
|
|
|
next();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
version: 17,
|
|
|
|
|
async migrate(transaction, next) {
|
|
|
|
|
console.log('migration 17');
|
|
|
|
|
console.log('Start migration to database version 17');
|
|
|
|
|
|
|
|
|
|
await Migrations.V17.run(transaction);
|
|
|
|
|
|
|
|
|
|
console.log('Complete migration to database version 17');
|
|
|
|
|
next();
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}());
|
|
|
|
|