mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Split database migrations into pre- and post-attachment migration
- Run light-weight migrations before attachment migration. - Run regular migrations after attachments have been moved to disk.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
exports.migrations = [
|
||||
{
|
||||
version: 18,
|
||||
async migrate(transaction, next) {
|
||||
console.log('Migration 18');
|
||||
next();
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user