mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Style Guide: Additional message examples, a few fixes to enable
This commit is contained in:
@@ -35,6 +35,14 @@ window.Signal.Migrations = {
|
||||
next();
|
||||
},
|
||||
version: 1,
|
||||
}, {
|
||||
migrate: (transaction, next) => {
|
||||
console.log('migration version 2');
|
||||
const messages = transaction.db.createObjectStore('messages');
|
||||
messages.createIndex('expires_at', 'expireTimer', { unique: false });
|
||||
next();
|
||||
},
|
||||
version: 2,
|
||||
}],
|
||||
loadAttachmentData: attachment => Promise.resolve(attachment),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user